From 87b84ba9c6e4e14194a90eb086c25b75bb867932 Mon Sep 17 00:00:00 2001 From: uvok Date: Fri, 16 Jan 2026 18:23:36 +0100 Subject: eater: Include RAM --- eater_cpu/eater_computer.sv | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'eater_cpu/eater_computer.sv') 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, -- cgit v1.2.3