URL
https://opencores.org/ocsvn/fir_wishbone/fir_wishbone/trunk
Subversion Repositories fir_wishbone
Compare Revisions
- This comparison shows the changes necessary to convert path
/fir_wishbone/trunk/workspaces
- from Rev 15 to Rev 8
- ↔ Reverse comparison
Rev 15 → Rev 8
/fir.qpf
File deleted
/Makefile
File deleted
/synthesis/quartus/synthesise.sh
File deleted
synthesis/quartus/synthesise.sh
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: simulation/questa/simulate.sh
===================================================================
--- simulation/questa/simulate.sh (revision 15)
+++ simulation/questa/simulate.sh (revision 8)
@@ -29,12 +29,31 @@
# @Description:
#
-errorStr=`grep "\*\* Error: " $1/simulate.log`
-echo $errorStr;
+#read -p "press Enter to run full simulation now, or Ctrl-C to exit: ";
+echo $(date "+[%Y-%m-%d %H:%M:%S]: Removing previously-generated files and folders...");
+rm -rf modelsim.ini ./simulate.log ./work ./altera ./osvvm ./tauhop;
+echo $(date "+[%Y-%m-%d %H:%M:%S]: Remove successful.");
+echo $(date "+[%Y-%m-%d %H:%M:%S]: Compiling project...");
+vlib work; vmap work work;
+#vlib osvvm; vmap osvvm osvvm;
+#vlib tauhop; vmap tauhop tauhop;
+
+#vcom -2008 -work osvvm ../../../rtl/packages/os-vvm/SortListPkg_int.vhd \
+# ../../../rtl/packages/os-vvm/RandomBasePkg.vhd \
+# ../../../rtl/packages/os-vvm/RandomPkg.vhd \
+# ../../../rtl/packages/os-vvm/CoveragePkg.vhd \
+# | tee -ai ./simulate.log;
+
+vcom -2008 -work work ../../../design/fir.vhdl \
+ ../../../tester/tb_fir.vhdl \
+ | tee -ai ./simulate.log;
+
+
+errorStr=`grep "\*\* Error: " ./simulate.log`
if [ `echo ${#errorStr}` -gt 0 ]
-then echo "Errors exist. Refer $1/simulate.log for more details. Exiting."; exit;
+then echo "Errors exist. Refer simulate.log for more details. Exiting."; exit;
else
- vsim -t ps -do $1/waves.do -voptargs="+acc" "work.tb_fir(rtl)";
+ vsim -t ps -do ./waves.do -voptargs="+acc" "work.tb_fir(rtl)";
echo $(date "+[%Y-%m-%d %H:%M:%S]: simulation loaded.");
fi