aboutsummaryrefslogtreecommitdiffstats
path: root/atk16_fpga/top.v
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2024-12-31 16:46:45 +0200
committerJan Tuomi <jan@jantuomi.fi>2024-12-31 16:46:45 +0200
commitceea6d2fb9c715e70623407674b4fc4a2ec032fc (patch)
treeb2d8e0e0533edb8f347b81ed387a002c4d8722d6 /atk16_fpga/top.v
parent53f89f10fd0cd3f3eb32c0e1234515be034ce92f (diff)
Fix and test interrupts
Diffstat (limited to 'atk16_fpga/top.v')
-rw-r--r--atk16_fpga/top.v8
1 files changed, 6 insertions, 2 deletions
diff --git a/atk16_fpga/top.v b/atk16_fpga/top.v
index 12ac94a..975a7f5 100644
--- a/atk16_fpga/top.v
+++ b/atk16_fpga/top.v
@@ -9,7 +9,9 @@ module top(
output SRAM_OE, // inverted
output SRAM_WE, // inverted
output [17:0] SA,
- inout [15:0] SD
+ inout [15:0] SD,
+
+ input [3:0] INT
);
cu cu_inst(
.clk(SYSCLK),
@@ -20,7 +22,9 @@ module top(
.sram_wr_n(SRAM_WE),
.sram_addr(SA[15:0]),
.sram_in(SD),
- .sram_out(SD)
+ .sram_out(SD),
+
+ .int_lines(INT)
);
assign SA[17:16] = 2'b0;