diff --git a/cpu/memory.v b/cpu/memory.v index 752a6ee..b33d009 100644 --- a/cpu/memory.v +++ b/cpu/memory.v @@ -1,5 +1,5 @@ module rom(input [19:0] address,output wire [15:0] data ,input rd,input cs); -reg [15:0] memory [15:0]; +reg [15:0] memory [0:15]; initial begin $readmemh("boot_code.txt", memory); end