mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-04-21 12:27:27 +03:00
Adding simulation files to blink example
This commit is contained in:
12
Examples/blink/logic/simulation/blink_TB.do
Normal file
12
Examples/blink/logic/simulation/blink_TB.do
Normal file
@@ -0,0 +1,12 @@
|
||||
vlib work
|
||||
vlog +acc "../blink.v"
|
||||
vlog +acc "../blink_TB.v"
|
||||
vlog +acc "/opt/cad/Xilinx/verilog/src/glbl.v"
|
||||
vsim -t 1ps -L xilinxcorelib_ver -L unisims_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