data/full_repos/permissive/488739248/rtl/ram/rom_loader.sv
1: b'%Warning-MULTITOP: data/full_repos/permissive/488739248/rtl/ram/rom_loader.sv:45: Multiple top level modules\n                                                                                : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                                : ... Top module \'selector_cpuAB_rom\'\nmodule selector_cpuAB_rom\n       ^~~~~~~~~~~~~~~~~~\n                                                                                : ... Top module \'selector_cpu_snd_rom\'\nmodule selector_cpu_snd_rom\n       ^~~~~~~~~~~~~~~~~~~~\n                                                                                : ... Top module \'eprom_32K\'\nmodule eprom_32K\n       ^~~~~~~~~\n                                                                                : ... Top module \'eprom_16K\'\nmodule eprom_16K\n       ^~~~~~~~~\n                                                                                : ... Top module \'eprom_8K\'\nmodule eprom_8K\n       ^~~~~~~~\n                                                                                : ... Top module \'prom_1K_4bit\'\nmodule prom_1K_4bit\n       ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/488739248/rtl/ram/rom_loader.sv:149: Cannot find file containing module: \'dpram_dc\'\n dpram_dc #(.widthad_a(10), .width_a(8)) prom_1K_4bit\n ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/488739248/rtl/ram,data/full_repos/permissive/488739248/dpram_dc\n             data/full_repos/permissive/488739248/rtl/ram,data/full_repos/permissive/488739248/dpram_dc.v\n             data/full_repos/permissive/488739248/rtl/ram,data/full_repos/permissive/488739248/dpram_dc.sv\n             dpram_dc\n             dpram_dc.v\n             dpram_dc.sv\n             obj_dir/dpram_dc\n             obj_dir/dpram_dc.v\n             obj_dir/dpram_dc.sv\n%Error: data/full_repos/permissive/488739248/rtl/ram/rom_loader.sv:121: Cannot find file containing module: \'dpram_dc\'\n dpram_dc #(.widthad_a(13), .width_a(8)) eprom_8K\n ^~~~~~~~\n%Error: data/full_repos/permissive/488739248/rtl/ram/rom_loader.sv:97: Cannot find file containing module: \'dpram_dc\'\n dpram_dc #(.widthad_a(14), .width_a(8)) eprom_16K\n ^~~~~~~~\n%Error: data/full_repos/permissive/488739248/rtl/ram/rom_loader.sv:73: Cannot find file containing module: \'dpram_dc\'\n dpram_dc #(.widthad_a(15), .width_a(8)) eprom_32K\n ^~~~~~~~\n%Error: Exiting due to 4 error(s), 1 warning(s)\n'
module eprom_16K
(
	input logic        CLK,
	input logic        CLK_DL,
	input logic [13:0] ADDR,
	input logic [19:0] ADDR_DL,
	input logic [7:0]  DATA_IN,
	input logic        CS_DL,
	input logic        WR,
	output logic [7:0] DATA
);
	dpram_dc #(.widthad_a(14), .width_a(8)) eprom_16K
	(
		.clock_a(CLK),
		.address_a(ADDR[13:0]),
		.q_a(DATA[7:0]),

		.clock_b(CLK_DL),
		.address_b(ADDR_DL[13:0]),
		.data_b(DATA_IN),
		.wren_b(WR & CS_DL)
	);
endmodule
module eprom_16K
(
	input logic        CLK,
	input logic        CLK_DL,
	input logic [13:0] ADDR,
	input logic [19:0] ADDR_DL,
	input logic [7:0]  DATA_IN,
	input logic        CS_DL,
	input logic        WR,
	output logic [7:0] DATA
);

	dpram_dc #(.widthad_a(14), .width_a(8)) eprom_16K
	(
		.clock_a(CLK),
		.address_a(ADDR[13:0]),
		.q_a(DATA[7:0]),

		.clock_b(CLK_DL),
		.address_b(ADDR_DL[13:0]),
		.data_b(DATA_IN),
		.wren_b(WR & CS_DL)
	);
endmodule