diff options
author | oharboe <oharboe> | 2008-06-18 18:20:36 +0000 |
---|---|---|
committer | oharboe <oharboe> | 2008-06-18 18:20:36 +0000 |
commit | f7c21b8d9c790fb8f59db5030e2b8f1a9fc96246 (patch) | |
tree | 12d1611098eafe008e434820d41b161eb8a778ff /zpu/hdl/example_ghdl | |
parent | 24d353cdac17eca4851271c824f421e8ab5697f3 (diff) | |
download | zpu-f7c21b8d9c790fb8f59db5030e2b8f1a9fc96246.zip zpu-f7c21b8d9c790fb8f59db5030e2b8f1a9fc96246.tar.gz |
Miguel Freitas <mfreitas@gmail.com>
log.txt and trace.txt currently on cvs were produced by interrupt.vhd.
this patch will build example_ghdl with interrupt.vhd by default so
user can compare results. adds a note about what user needs to edit to
simulate helloworld.vhd without interrupts.
Diffstat (limited to 'zpu/hdl/example_ghdl')
-rw-r--r-- | zpu/hdl/example_ghdl/ghdl_import.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/zpu/hdl/example_ghdl/ghdl_import.sh b/zpu/hdl/example_ghdl/ghdl_import.sh index a0ae61c..b1c2713 100644 --- a/zpu/hdl/example_ghdl/ghdl_import.sh +++ b/zpu/hdl/example_ghdl/ghdl_import.sh @@ -4,7 +4,10 @@ mkdir -p work
ghdl -i ${IMPORT_OPTIONS} ../../hdl/example/zpu_config.vhd
ghdl -i ${IMPORT_OPTIONS} ../../hdl/zpu4/core/zpupkg.vhd
-ghdl -i ${IMPORT_OPTIONS} ../../hdl/example/helloworld.vhd
+ghdl -i ${IMPORT_OPTIONS} ../../hdl/example/interrupt.vhd
+# to execute helloworld comment interrupt.vhd above
+# and edit sim_small_fpga_top.vhd to never assert interrupts
+#ghdl -i ${IMPORT_OPTIONS} ../../hdl/example/helloworld.vhd
ghdl -i ${IMPORT_OPTIONS} ../../hdl/zpu4/src/txt_util.vhd
ghdl -i ${IMPORT_OPTIONS} ../../hdl/zpu4/src/trace.vhd
ghdl -i ${IMPORT_OPTIONS} ../../hdl/zpu4/core/zpu_core_small.vhd
|