Documente Academic
Documente Profesional
Documente Cultură
---
Bash Shell Scripts
---
Bash Shell Scripts
---
Bash Shell Scripts
---
Bash Shell Scripts
---
Bash Shell Scripts
---
Bash Shell Scripts
---
Bash Shell Scripts
#!/bin/bash
#after the first run of vsim, save the vectors off to the side:
vsim adder -do do.do -quiet -c +nowarnTFMPC +nowarnTSCALE
mv adder.list adder.golden.list
#after the second run of vsim, compare the two list files
diff adder.list adder.rtl.list >| diff_report
if [ ! -s "diff_report" ] ; then
echo "HOORAY IT WORKS!"
else
echo "BOO HOO HOO, ITS BROKEN!
fi
---
Bash Shell Scripts
---
Bash Shell Scripts
---
Bash Shell Scripts
Split output
vlog my_module.v | tee compile_log
output goes to screen and to the file
---