76 lines
4.1 KiB
Tcl
76 lines
4.1 KiB
Tcl
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
#ATTTION : MODIFY THIS FILE AS YOU WANT
|
||
|
||
#preset envieroment variables
|
||
if {[info exists SIM_TYPE] && $SIM_TYPE == "timing"} {
|
||
|
||
} else {
|
||
|
||
puts "---->checing the simulator status to decide whether to restore the wave session.................."
|
||
puts "---->the runstatus is :[runStatus]"
|
||
#if {![string compare [runStatus] "ready" ] || ![string compare [runStatus] "error" ]} {
|
||
puts "---->trying restore to saved wave window.................."
|
||
|
||
catch {
|
||
set size [file size lastwave.tcl];
|
||
#check if size is too much
|
||
if($size > (10*1024){
|
||
puts "lastwave.tcl size is $size,try to recover"
|
||
do lastwave.tcl
|
||
}
|
||
} res;
|
||
#}
|
||
|
||
|
||
# catch {log -mvcreccomplete -r -depth 6 /* } res
|
||
|
||
catch {log -mvcreccomplete -r -depth 6 /$CASE_NAME/*} res
|
||
catch {log -mvcreccomplete -r -depth 6 /$CASE_NAME/$TOP_INSTANCE/*} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/CENTRAL_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/TIME_TICK_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/IMGRX_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/IMGRX_inst/TRAIN_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/IMGRX_inst/SEQUENCER_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/IMGRX_inst/GENIMGVAL_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/IMGRXDATA_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/SDRAM_TOP_instHigh} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/SDRAM_TOP_instHigh/SDRAM_AREF_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/SDRAM_TOP_instHigh/SDRAM_INIT_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/SDRAM_TOP_instHigh/SDRAM_READ_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/SDRAM_TOP_instHigh/SDRAM_WRITE_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/SDRAM_TOP_instLow} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/SDRAM_FRMRDCTRL_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/IMGTX_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/IMGSPI_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/COMMANDHANDLER_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/ERUPRAMCAL_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/ERUPSUM_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/FRMHEADWR_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/GUIDEPIEZORX_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/STATE_RETURN_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/TEMP461_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/TIME_TICK_inst} res
|
||
# catch {log -mvcreccomplete -r -depth 4 /$CASE_NAME/$TOP_INSTANCE/TIMEPRO_inst} res
|
||
|
||
|
||
|
||
# log -class pkg_uart::uart
|
||
# catch {class/pkg_uart::uart::uart__2} res;
|
||
}
|