20 lines
453 B
Text
20 lines
453 B
Text
# Create clean libraries
|
|
foreach lib [list work] {
|
|
file delete -force -- $lib
|
|
vlib $lib
|
|
}
|
|
|
|
# Compile the code into the appropriate libraries
|
|
do compile.do
|
|
|
|
# Get any command line argumens added to the .do file call
|
|
set vsimargs [lrange $argv 3 end]
|
|
|
|
# Run the tests.
|
|
vsim -quiet -pli VProc.so +nowarnTFMPC -L altera_mf_ver -L altera_mf -t 1ns tb -l sim.log
|
|
set StdArithNoWarnings 1
|
|
set NumericStdNoWarnings 1
|
|
run -all
|
|
|
|
#Exit the simulations
|
|
quit
|