data/full_repos/permissive/527176783/Pipeline/instMEM.v
1: b'%Warning-WIDTH: data/full_repos/permissive/527176783/Pipeline/instMEM.v:18: Bit extraction of array[63:0] requires 6 bit index, not 30 bits.\n                                                                          : ... In instance instMEM\n assign inst = inst_mem[pc[31:2]];\n                       ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
module instMEM(
	input 	[31:0] 	pc,
	output 	[31:0]	inst
);

	reg [31:0] inst_mem [0:63];

	initial $readmemh("E:/MIPS_CPU/A_Single/machinecode.txt",inst_mem);




	assign inst = inst_mem[pc[31:2]];
	
endmodule
module instMEM(
	input 	[31:0] 	pc,
	output 	[31:0]	inst
);


	reg [31:0] inst_mem [0:63];

	initial $readmemh("E:/MIPS_CPU/A_Single/machinecode.txt",inst_mem);




	assign inst = inst_mem[pc[31:2]];
	
endmodule