mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-04-21 12:27:27 +03:00
Adding post route simulation to FPGA examples
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
vlib work
|
||||
vlog +acc "../blink.v"
|
||||
vlog +acc "../blink_TB.v"
|
||||
vlog +acc "glbl.v"
|
||||
vsim -t 1ps -L xilinxcorelib_ver -L unisims_ver blink_TB_v glbl
|
||||
vlog -incr +libext+.v \
|
||||
"../blink.v" \
|
||||
"../blink_TB.v" \
|
||||
"glbl.v"
|
||||
|
||||
vsim -t 1ps -L simprims_ver -L unisims_ver -L xilinxcorelib_ver blink_TB_v glbl
|
||||
view wave
|
||||
do wave.do
|
||||
#add wave *
|
||||
#do wave.do
|
||||
add wave *
|
||||
add wave /glbl/GSR
|
||||
view structure
|
||||
view signals
|
||||
|
||||
10
Examples/blink/logic/simulation/blink_TIMING_TB.do
Normal file
10
Examples/blink/logic/simulation/blink_TIMING_TB.do
Normal file
@@ -0,0 +1,10 @@
|
||||
vlib work
|
||||
vlog -incr "../build/project.v" "../blink_TB.v" "glbl.v"
|
||||
vsim -t 1ps -L simprims_ver -L unisims_ver -L xilinxcorelib_ver blink_TB_v glbl
|
||||
view wave
|
||||
#do wave.do
|
||||
add wave *
|
||||
add wave /glbl/GSR
|
||||
view structure
|
||||
view signals
|
||||
run 15ms
|
||||
Reference in New Issue
Block a user