diff options
author | Olof Kindgren <olof.kindgren@gmail.com> | 2016-02-18 22:42:01 +0100 |
---|---|---|
committer | Olof Kindgren <olof.kindgren@gmail.com> | 2016-02-18 22:47:15 +0100 |
commit | 9591ae9f7d4182463a2a3af2a51212d29f9781bf (patch) | |
tree | a4a140cec8502caf3db20e6b21b4d2f7533c747d /Makefile | |
parent | 8343315aa7879800ff6d6c3da16c96eb57fb447a (diff) | |
download | picorv32-9591ae9f7d4182463a2a3af2a51212d29f9781bf.tar.gz picorv32-9591ae9f7d4182463a2a3af2a51212d29f9781bf.zip |
Split out verilator-incompatible code to top-level testbench
Verilator doesn't handle verilog code that deals with time, such
as delayed signals or the repeat task. Clock and reset generation
are therefore moved to a separate file that can be replaced by
a verilator module. VCD generation is also affected by this.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -33,12 +33,12 @@ test_axi: testbench.exe firmware/firmware.hex test_synth: testbench_synth.exe firmware/firmware.hex vvp -N testbench_synth.exe -testbench.exe: testbench.v axi4_memory.v picorv32.v - iverilog -o testbench.exe $(subst $(COMPRESSED_ISA),C,-DCOMPRESSED_ISA) testbench.v axi4_memory.v picorv32.v +testbench.exe: testbench.v picorv32_wrapper.v axi4_memory.v picorv32.v + iverilog -o testbench.exe $(subst $(COMPRESSED_ISA),C,-DCOMPRESSED_ISA) testbench.v picorv32_wrapper.v axi4_memory.v picorv32.v chmod -x testbench.exe -testbench_sp.exe: testbench.v axi4_memory.v picorv32.v - iverilog -o testbench_sp.exe $(subst $(COMPRESSED_ISA),C,-DCOMPRESSED_ISA) -DSP_TEST testbench.v axi4_memory.v picorv32.v +testbench_sp.exe: testbench.v picorv32_wrapper.v axi4_memory.v picorv32.v + iverilog -o testbench_sp.exe $(subst $(COMPRESSED_ISA),C,-DCOMPRESSED_ISA) -DSP_TEST testbench.v picorv32_wrapper.v axi4_memory.v picorv32.v chmod -x testbench_sp.exe testbench_synth.exe: testbench.v synth.v |