Collaborative - Fixes and Testbenches for Basic Modules so far
This commit is contained in:
11
lab2CA.sim/sim_1/behav/xsim/not_1bit_tb.tcl
Normal file
11
lab2CA.sim/sim_1/behav/xsim/not_1bit_tb.tcl
Normal file
@@ -0,0 +1,11 @@
|
||||
set curr_wave [current_wave_config]
|
||||
if { [string length $curr_wave] == 0 } {
|
||||
if { [llength [get_objects]] > 0} {
|
||||
add_wave /
|
||||
set_property needs_save false [current_wave_config]
|
||||
} else {
|
||||
send_msg_id Add_Wave-1 WARNING "No top level signals found. Simulator will start without a wave window. If you want to open a wave window go to 'File->New Waveform Configuration' or type 'create_wave_config' in the TCL console."
|
||||
}
|
||||
}
|
||||
|
||||
run 1000ns
|
||||
Reference in New Issue
Block a user