OpenCores
URL https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [scripts/] [sim_procs.do] - Diff between revs 33 and 34

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 33 Rev 34
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 86... Line 81...
  }
  }
 
 
  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 127... Line 117...
  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
 
  }
 
}
}
 
 
 
 
# ------------------------------------
# ------------------------------------
#
#

powered by: WebSVN 2.1.0

© copyright 1999-2019 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.