Line 24... |
Line 24... |
if {$arg1 eq {core1990}} {
|
if {$arg1 eq {core1990}} {
|
set_property top testbench_Interface_Test [get_filesets sim_1]
|
set_property top testbench_Interface_Test [get_filesets sim_1]
|
set_property top_lib work [get_filesets sim_1]
|
set_property top_lib work [get_filesets sim_1]
|
set_property top_arch tb_interlaken_interface [get_filesets sim_1]
|
set_property top_arch tb_interlaken_interface [get_filesets sim_1]
|
launch_xsim -simset sim_1 -mode behavioral
|
launch_xsim -simset sim_1 -mode behavioral
|
open_wave_config {/home/nayibb/Desktop/report/Code/Core1990/projects/core1990_interlaken/testbench_Interface_Test_behav.wcfg}
|
open_wave_config {/home/nayibb/Desktop/report/Code/Core1990/projects/core1990_interlaken/testbench_interlaken_interface_behav.wcfg}
|
|
puts "$arg1 it is, you've chosen wisely"
|
|
|
} elseif {$arg1 eq {interface}} {
|
} elseif {$arg1 eq {interface}} {
|
|
|
set_property top testbench_interlaken_interface [get_filesets sim_1]
|
set_property top testbench_interlaken_interface [get_filesets sim_1]
|
set_property top_lib work [get_filesets sim_1]
|
set_property top_lib work [get_filesets sim_1]
|
set_property top_arch tb_interlaken_interface [get_filesets sim_1]
|
set_property top_arch tb_interlaken_interface [get_filesets sim_1]
|
launch_xsim -simset sim_1 -mode behavioral
|
launch_xsim -simset sim_1 -mode behavioral
|
puts "$arg1 it is, you've chosen wisely"
|
|
|
|
} elseif {$arg1 eq {decoder}} {
|
} elseif {$arg1 eq {decoder}} {
|
|
|
set_property top testbench_decoder [get_filesets sim_1]
|
set_property top testbench_decoder [get_filesets sim_1]
|
set_property top_lib work [get_filesets sim_1]
|
set_property top_lib work [get_filesets sim_1]
|
set_property top_arch tb_decoder [get_filesets sim_1]
|
set_property top_arch tb_decoder [get_filesets sim_1]
|
launch_xsim -simset sim_1 -mode behavioral
|
launch_xsim -simset sim_1 -mode behavioral
|
|
|
} elseif {$arg1 eq {-help} } {
|
} elseif {$arg1 eq {-help} } {
|
puts "Seems you need help\n"
|
puts "Seems you need help\n"
|
puts "Run the simulation by entering the command simulate followed by the part you would like to simulate. \n Syntax : simulate object \n Arguments : interface , decoder."
|
puts "Run the simulation by entering the command simulate followed by the part you would like to simulate. \n Syntax : simulate object \n Arguments : core1990, interface , decoder."
|
} else {
|
} else {
|
puts "No valid command"
|
puts "No valid command"
|
}
|
}
|
}
|
}
|
|
|