summaryrefslogtreecommitdiff
path: root/rtl/top
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-09 09:25:48 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-09 09:25:48 -0600
commit5d798386c3b1c1dc45a2fbc382c9367ccc27c524 (patch)
treea04fff74505af30c8044f80f523fd887331e6234 /rtl/top
parent65590be80332d132d7037bfe3bb19e5d6e5bcd7b (diff)
Implement reset
Diffstat (limited to 'rtl/top')
-rw-r--r--rtl/top/conspiracion.sv7
1 files changed, 2 insertions, 5 deletions
diff --git a/rtl/top/conspiracion.sv b/rtl/top/conspiracion.sv
index 5261308..6d8784f 100644
--- a/rtl/top/conspiracion.sv
+++ b/rtl/top/conspiracion.sv
@@ -1,7 +1,7 @@
module conspiracion
(
input wire clk_clk,
- input wire debug,
+ input wire reset_reset_n,
output wire [12:0] memory_mem_a,
output wire [2:0] memory_mem_ba,
output wire memory_mem_ck,
@@ -39,10 +39,6 @@ module conspiracion
output wire [7:0] vga_controller_0_dac_b
);
- //TODO
- wire reset_reset_n;
- assign reset_reset_n = 1'b1;
-
logic[29:0] addr;
logic[31:0] data_rd, data_wr;
logic cpu_clk, ready, write, start, irq;
@@ -50,6 +46,7 @@ module conspiracion
arm810 core
(
.clk(cpu_clk),
+ .rst_n(reset_reset_n),
.bus_addr(addr),
.bus_data_rd(data_rd),
.bus_data_wr(data_wr),