URL
https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk
[/] [qaz_libs/] [trunk/] [scripts/] [sim_procs.do] - Diff between revs 34 and 36
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 34 |
Rev 36 |
Line 68... |
Line 68... |
|
|
# ------------------------------------
|
# ------------------------------------
|
#
|
#
|
proc sim_run_sim { } {
|
proc sim_run_sim { } {
|
|
|
|
if { [file exists ./pre_sim.do] } {
|
|
echo "INFO: found ./pre_sim.do"
|
|
do ./pre_sim.do
|
|
}
|
|
|
if {[file exists ./sim.do]} {
|
if {[file exists ./sim.do]} {
|
do ./sim.do
|
do ./sim.do
|
} elseif {[file exists ../../libs/sim.do]} {
|
} elseif {[file exists ../../libs/sim.do]} {
|
do ../../libs/sim.do
|
do ../../libs/sim.do
|
} elseif {[file exists ../../libs/altera_sim.f]} {
|
} elseif {[file exists ../../libs/altera_sim.f]} {
|
Line 81... |
Line 86... |
}
|
}
|
|
|
if { [file exists ./wave.do] } {
|
if { [file exists ./wave.do] } {
|
do ./wave.do
|
do ./wave.do
|
}
|
}
|
|
|
|
if { [file exists ./post_sim.do] } {
|
|
echo "INFO: found ./post_sim.do"
|
|
do ./post_sim.do
|
|
}
|
}
|
}
|
|
|
|
|
# ------------------------------------
|
# ------------------------------------
|
#
|
#
|
Line 117... |
Line 127... |
if { [file exists ./wip.do] } {
|
if { [file exists ./wip.do] } {
|
echo "INFO: found ./wip.do"
|
echo "INFO: found ./wip.do"
|
do ./wip.do
|
do ./wip.do
|
}
|
}
|
|
|
|
if { [file exists ./pre_sim.do] } {
|
|
echo "INFO: found ./pre_sim.do"
|
|
do ./pre_sim.do
|
|
}
|
|
|
if { [string equal nodesign [runStatus]] } {
|
if { [string equal nodesign [runStatus]] } {
|
sim_run_sim
|
sim_run_sim
|
} else {
|
} else {
|
restart -force
|
restart -force
|
}
|
}
|
|
|
run -all
|
run -all
|
|
echo "INFO: run -all done."
|
|
|
|
if { [file exists ./post_sim.do] } {
|
|
echo "INFO: found ./post_sim.do"
|
|
do ./post_sim.do
|
|
}
|
}
|
}
|
|
|
|
|
# ------------------------------------
|
# ------------------------------------
|
#
|
#
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.