summaryrefslogtreecommitdiff
path: root/rtl/top/conspiracion.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-12-20 16:16:08 -0600
committerAlejandro Soto <alejandro@34project.org>2022-12-21 04:16:46 -0600
commitd2fc80b6d8b4a64efa00c8458ae94f6b44ddf6be (patch)
tree8f9b3b81b36cb3b4deda5eebfd0de2ddc4f7e0ed /rtl/top/conspiracion.sv
parent42bbf5619d9ec4437abf8277d5a458257c3076f0 (diff)
Fix clock/reset timing in single-step, dsp_mul
Diffstat (limited to 'rtl/top/conspiracion.sv')
-rw-r--r--rtl/top/conspiracion.sv9
1 files changed, 8 insertions, 1 deletions
diff --git a/rtl/top/conspiracion.sv b/rtl/top/conspiracion.sv
index c9e940f..4d09af8 100644
--- a/rtl/top/conspiracion.sv
+++ b/rtl/top/conspiracion.sv
@@ -3,9 +3,12 @@ module conspiracion
input wire clk_clk,
input wire rst_n,
input wire halt,
+`ifdef VERILATOR
input wire step,
- output wire cpu_halted,
output wire breakpoint,
+`endif
+ output wire cpu_halted,
+
output wire [12:0] memory_mem_a,
output wire [2:0] memory_mem_ba,
output wire memory_mem_ck,
@@ -92,6 +95,10 @@ module conspiracion
.bus_ready(ready),
.bus_write(write),
.bus_start(start),
+`ifndef VERILATOR
+ .step(0),
+ .breakpoint(),
+`endif
.*
);