summaryrefslogtreecommitdiff
path: root/eater_cpu
diff options
context:
space:
mode:
Diffstat (limited to 'eater_cpu')
-rw-r--r--eater_cpu/eater_computer.sv19
1 files changed, 17 insertions, 2 deletions
diff --git a/eater_cpu/eater_computer.sv b/eater_cpu/eater_computer.sv
index 9595abf..cb94b86 100644
--- a/eater_cpu/eater_computer.sv
+++ b/eater_cpu/eater_computer.sv
@@ -3,10 +3,25 @@
`timescale 1us/1us
module eater_computer(
- input clk_in,
- output [7:0] debug_bus
+ input wire clk_in,
+ output wire [7:0] debug_bus
);
+// fucking being including so that VScode extensions find this module
+// (because config'ing the include path alone doesn't help)
+// vs fucking actually compiling it and tools complaining about the fucking timescale.
+`ifndef COMPILING
+`include "../playground/my_mem.v"
+`endif
+
+my_mem #(
+ .DATA_WIDTH(8),
+ .DATA_DEPTH(16)
+) RAM (
+
+);
+
+
/* verilator public_on */
tri [7:0] bus, A_out, B_out;
logic A_to_bus, bus_to_A,