From f7c21b8d9c790fb8f59db5030e2b8f1a9fc96246 Mon Sep 17 00:00:00 2001 From: oharboe Date: Wed, 18 Jun 2008 18:20:36 +0000 Subject: Miguel Freitas 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. --- zpu/hdl/example_ghdl/ghdl_import.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'zpu/hdl/example_ghdl') 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 -- cgit v1.1