data/full_repos/permissive/504762811/rom.v
1: b'%Error: data/full_repos/permissive/504762811/rom.v:1: Cannot find include file: minicpu.h\n`include "minicpu.h" \n         ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/504762811,data/full_repos/permissive/504762811/minicpu.h\n             data/full_repos/permissive/504762811,data/full_repos/permissive/504762811/minicpu.h.v\n             data/full_repos/permissive/504762811,data/full_repos/permissive/504762811/minicpu.h.sv\n             minicpu.h\n             minicpu.h.v\n             minicpu.h.sv\n             obj_dir/minicpu.h\n             obj_dir/minicpu.h.v\n             obj_dir/minicpu.h.sv\n%Error: data/full_repos/permissive/504762811/rom.v:4: Define or directive not defined: \'`AddrBus\'\n input  wire [`AddrBus] addr,\n              ^~~~~~~~\n%Error: data/full_repos/permissive/504762811/rom.v:4: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n input  wire [`AddrBus] addr,\n                      ^\n%Error: data/full_repos/permissive/504762811/rom.v:5: Define or directive not defined: \'`Rom_Bus\'\n output wire [`Rom_Bus] data\n              ^~~~~~~~\n%Error: data/full_repos/permissive/504762811/rom.v:7: Define or directive not defined: \'`DataBus\'\n reg [`DataBus] mem [255:0];\n      ^~~~~~~~\n%Error: data/full_repos/permissive/504762811/rom.v:7: syntax error, unexpected \']\', expecting TYPE-IDENTIFIER\n reg [`DataBus] mem [255:0];\n              ^\n%Error: data/full_repos/permissive/504762811/rom.v:11: syntax error, unexpected assign\n assign data = {mem[addr], mem[addr+1], mem[addr+2]};\n ^~~~~~\n%Error: Exiting due to 7 error(s)\n'
module rom (
	input  wire [`AddrBus] addr,
	output wire [`Rom_Bus] data
);
	reg [`DataBus] mem [255:0];
	parameter BYTES = 256;
	

	assign data = {mem[addr], mem[addr+1], mem[addr+2]};

	initial

		$readmemh("testRom.txt", mem, 0, BYTES-1);
endmodule
module rom (
	input  wire [`AddrBus] addr,
	output wire [`Rom_Bus] data
);

	reg [`DataBus] mem [255:0];
	parameter BYTES = 256;
	

	assign data = {mem[addr], mem[addr+1], mem[addr+2]};

	initial

		$readmemh("testRom.txt", mem, 0, BYTES-1);
endmodule