Line 1... |
Line 1... |
# $Id: w11a_tb_guide.txt 428 2011-11-20 12:19:31Z mueller $
|
# $Id: w11a_tb_guide.txt 433 2011-11-27 22:04:39Z mueller $
|
|
|
Guide to running w11a test benches
|
Guide to running w11a test benches
|
|
|
Table of content:
|
Table of content:
|
|
|
Line 157... |
Line 157... |
"package require tst_rlink" "tst_rlink::setup" "tst_rlink::test_all" |\
|
"package require tst_rlink" "tst_rlink::setup" "tst_rlink::test_all" |\
|
tee tb_tst_rlink_n2_dsim.log | egrep "(-[EW]:|FAIL|PEND|DONE)"
|
tee tb_tst_rlink_n2_dsim.log | egrep "(-[EW]:|FAIL|PEND|DONE)"
|
-> 1769140.0 ns 88446: DONE
|
-> 1769140.0 ns 88446: DONE
|
-> real 0m15.289s
|
-> real 0m15.289s
|
|
|
|
- sys_tst_rlink_n3 test bench
|
|
|
|
cd $RETROBASE/rtl/sys_gen/tst_rlink/nexys3/tb
|
|
make tb_tst_rlink_n3
|
|
time ti_rri --run="tbw tb_tst_rlink_n3" --fifo --logl=3 -- \
|
|
"package require tst_rlink" "tst_rlink::setup" "tst_rlink::test_all" |\
|
|
tee tb_tst_rlink_n3_dsim.log | egrep "(-[EW]:|FAIL|PEND|DONE)"
|
|
-> 893590.0 ns 89338: DONE
|
|
-> real 0m9.510s
|
|
|
4b. w11a systems -----------------------------------------------------
|
4b. w11a systems -----------------------------------------------------
|
|
|
The stimulus file used in the w11a core test can be executed in the
|
The stimulus file used in the w11a core test can be executed in the
|
full system context (both s3board and nexys2 versions) with the
|
full system context (both s3board and nexys2 versions) with the
|
following commands. Note that the cycle number printed in the DONE
|
following commands. Note that the cycle number printed in the DONE
|
Line 187... |
Line 197... |
--run="tbw tb_w11a_n2" -- \
|
--run="tbw tb_w11a_n2" -- \
|
@../../../../w11a/tb/tb_pdp11core_stim.dat |\
|
@../../../../w11a/tb/tb_pdp11core_stim.dat |\
|
tee tb_w11a_n2_stim2_dsim.log | egrep "(-[EW]:|FAIL|PEND|DONE)"
|
tee tb_w11a_n2_stim2_dsim.log | egrep "(-[EW]:|FAIL|PEND|DONE)"
|
-> 6673237.2 ns 387035: DONE
|
-> 6673237.2 ns 387035: DONE
|
-> real 0m56.173s user 0m56.612s sys 0m00.604s
|
-> real 0m56.173s user 0m56.612s sys 0m00.604s
|
|
|
|
- sys_w11a_n3 test bench
|
|
|
|
cd $RETROBASE/rtl/sys_gen/w11a/nexys3/tb
|
|
make tb_w11a_n3
|
|
time pi_rri --fifo --timeout=40. --cmax=3 \
|
|
--run="tbw tb_w11a_n3" -- \
|
|
@../../../../w11a/tb/tb_pdp11core_stim.dat |\
|
|
tee tb_w11a_n3_stim2_dsim.log | egrep "(-[EW]:|FAIL|PEND|DONE)"
|
|
-> 4593598.2 ns 390438: DONE
|
|
-> real 0m55.326s user 0m55.711s sys 0m00.752s
|