cvw/fma/fma.do

23 lines
482 B
Plaintext
Raw Normal View History

2022-02-27 04:36:43 +00:00
# fma.do
#
# run with vsim -do "do fma.do"
# add -c before -do for batch simulation
onbreak {resume}
# create library
vlib worklib
vlog -lint -work worklib fma16.sv testbench.sv
vopt +acc worklib.testbench -work worklib -o testbenchopt
vsim -lib worklib testbenchopt
add wave sim:/testbench/clk
add wave sim:/testbench/reset
add wave sim:/testbench/x
add wave sim:/testbench/y
add wave sim:/testbench/z
add wave sim:/testbench/result
add wave sim:/testbench/rexpected
run -all