data/full_repos/permissive/146975244/RAM.v
1: b'%Warning-WIDTH: data/full_repos/permissive/146975244/RAM.v:10: Bit extraction of array[10:0] requires 4 bit index, not 11 bits.\n                                                             : ... In instance RAM\n   ramD[address] = data;\n       ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/146975244/RAM.v:13: Bit extraction of array[10:0] requires 4 bit index, not 11 bits.\n                                                             : ... In instance RAM\n assign read = ramD[address];\n                   ^\n%Error: Exiting due to 2 warning(s)\n'
module RAM(data,address, write, read, clock);
	input [10:0] address;
	input [31:0] data;
	input write, clock;
	output [31:0] read;
	reg [31:0] ramD [10:0];

	always @ (posedge clock)  begin
		if (write) begin
			ramD[address] = data;
		end
	end
	assign read = ramD[address];
endmodule
module RAM(data,address, write, read, clock);

	input [10:0] address;
	input [31:0] data;
	input write, clock;
	output [31:0] read;
	reg [31:0] ramD [10:0];

	always @ (posedge clock)  begin
		if (write) begin
			ramD[address] = data;
		end
	end
	assign read = ramD[address];
endmodule