data/full_repos/permissive/104305228/code/rom.v
1: b'%Error: data/full_repos/permissive/104305228/code/rom.v:1: Cannot find include file: define.v\n`include "define.v" \n         ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/104305228/code,data/full_repos/permissive/104305228/define.v\n             data/full_repos/permissive/104305228/code,data/full_repos/permissive/104305228/define.v.v\n             data/full_repos/permissive/104305228/code,data/full_repos/permissive/104305228/define.v.sv\n             define.v\n             define.v.v\n             define.v.sv\n             obj_dir/define.v\n             obj_dir/define.v.v\n             obj_dir/define.v.sv\n%Error: data/full_repos/permissive/104305228/code/rom.v:10: Define or directive not defined: \'`ChipDisable\'\n  if (ce == `ChipDisable) begin\n            ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/104305228/code/rom.v:10: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n  if (ce == `ChipDisable) begin\n                        ^\n%Error: Cannot continue\n'
module rom(
	input ce,
	input [31:0] instr_addr,
	output reg[31:0] instr
);
	reg [31:0] instr_mem[0:1023];
	initial $readmemh("inst_rom.data", instr_mem);
	always @ (*) begin
		if (ce == `ChipDisable) begin
			instr <= 32'b0;
		end
		else begin
			instr <= instr_mem[instr_addr[18:2]];
		end
	end
endmodule
module rom(
	input ce,
	input [31:0] instr_addr,
	output reg[31:0] instr
);

	reg [31:0] instr_mem[0:1023];
	initial $readmemh("inst_rom.data", instr_mem);
	always @ (*) begin
		if (ce == `ChipDisable) begin
			instr <= 32'b0;
		end
		else begin
			instr <= instr_mem[instr_addr[18:2]];
		end
	end
endmodule