`include "parameters.h" module instr_memory( input [15:0]pc, output [15:0]instruction ); reg [`col - 1:0] memory [`row_i - 1:0]; wire [3:0] rom_addr = pc[4:1]; initial begin $readmemb("test.instr",memory,0,14); end assign instruction = memory[rom_addr]; endmodule