cmd.tcl 452 B

123456789101112
  1. set curr_wave [current_wave_config]
  2. if { [string length $curr_wave] == 0 } {
  3. if { [llength [get_objects]] > 0} {
  4. add_wave /
  5. set_property needs_save false [current_wave_config]
  6. } else {
  7. 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."
  8. }
  9. }
  10. run -all
  11. quit