diff --git a/src_SSITH_P3/Makefile b/src_SSITH_P3/Makefile index f6ec322..9cc95fb 100644 --- a/src_SSITH_P3/Makefile +++ b/src_SSITH_P3/Makefile @@ -38,7 +38,11 @@ BSC_COMPILATION_FLAGS += \ #================================================================ # Parameter settings for MIT RISCY -# We omit 'BSC_COMPILATION_FLAGS += D BSIM' so it'll use Xilinx IP for floating point arith +# We include 'BSC_COMPILATION_FLAGS += D BSIM' to use simulation +# models for the integer divier. Omit this for synthesis. +ifeq ($(SIM), true) + BSC_COMPILATION_FLAGS += -D BSIM +endif include $(REPO)/builds/Resources/Include_RISCY_Config.mk diff --git a/src_SSITH_P3/README.txt b/src_SSITH_P3/README.txt index 2fb1595..f90a2b7 100644 --- a/src_SSITH_P3/README.txt +++ b/src_SSITH_P3/README.txt @@ -29,9 +29,15 @@ into this socket: - Variations/alternatives by various SSITH project teams >================================================================ -Whenever there are changes to the Piccolo core, rerun: +Whenever there are changes to the Toooba core, rerun: - $ make compile + $ make compile SIM=true for a simulation version (which generates RTL and then $ cp Verilog_RTL/* xilinx_ip/hdl/) + $ make compile for a synthesizable (on Xilinx) version + (which generates RTL and then $ cp Verilog_RTL/* xilinx_ip/hdl/) + +The simulation version uses simulation models for the integer divider, +while the synthesis version uses Xilinx IP. + >================================================================