Added fulladder example files

This commit is contained in:
David Harris 2022-01-10 16:15:05 +00:00
parent 4cae11ad28
commit 6587bd6944
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# fulladder-batch.do
# David_Harris@hmc.edu 10 January 2021
vlog fulladder.sv
vopt +acc work.testbench -o workopt
vsim workopt
run -all
quit

View File

@ -0,0 +1,12 @@
# fulladder.do
# David_Harris@hmc.edu 10 January 2021
# compile, optimize, and start the simulation
vlog fulladder.sv
vopt +acc work.testbench -o workopt
vsim workopt
# Add waveforms and run the simulation
add wave *
run -all
view wave

View File

@ -0,0 +1 @@
vsim -c -do fulladder-batch.do