data/full_repos/permissive/212495825/src/gaplus_cpus.v
 line:194: before: ","
1: b'%Warning-MULTITOP: data/full_repos/permissive/212495825/src/gaplus_cpus.v:113: 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 \'GAPLUS_MAIN\'\nmodule GAPLUS_MAIN\n       ^~~~~~~~~~~\n                                                                             : ... Top module \'GAPLUS_SUB\'\nmodule GAPLUS_SUB\n       ^~~~~~~~~~\n%Error: data/full_repos/permissive/212495825/src/gaplus_cpus.v:199: Cannot find file containing module: \'mc6809i\'\nmc6809i core (\n^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/212495825/src,data/full_repos/permissive/212495825/mc6809i\n             data/full_repos/permissive/212495825/src,data/full_repos/permissive/212495825/mc6809i.v\n             data/full_repos/permissive/212495825/src,data/full_repos/permissive/212495825/mc6809i.sv\n             mc6809i\n             mc6809i.v\n             mc6809i.sv\n             obj_dir/mc6809i\n             obj_dir/mc6809i.v\n             obj_dir/mc6809i.sv\n%Error: data/full_repos/permissive/212495825/src/gaplus_cpus.v:141: Cannot find file containing module: \'SUB_ROM\'\nSUB_ROM isb( SCPU_CLK, scpu_ma, srom_d, ROMCL,ROMAD,ROMDT,ROMEN );\n^~~~~~~\n%Error: data/full_repos/permissive/212495825/src/gaplus_cpus.v:143: Cannot find file containing module: \'dataselector2\'\ndataselector2 scpu_disel( scpu_di, scpu_irom_cs, srom_d, scpu_mram_cs, scpu_mr, 8\'hFF );\n^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/212495825/src/gaplus_cpus.v:53: Cannot find file containing module: \'MAIN_ROM\'\nMAIN_ROM imn( MCPU_CLK, mcpu_ma, mrom_d, ROMCL,ROMAD,ROMDT,ROMEN );\n^~~~~~~~\n%Error: data/full_repos/permissive/212495825/src/gaplus_cpus.v:75: Cannot find file containing module: \'dataselector4\'\ndataselector4 mcpudsel( \n^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/212495825/src/gaplus_cpus.v:99: Cannot find file containing module: \'GAPLUS_IO\'\nGAPLUS_IO io(\n^~~~~~~~~\n%Error: Exiting due to 6 error(s), 1 warning(s)\n'
module cpu6809
(
	input				clkx2,
	input				rst,
	output 			rw,
	output			vma,
	output [15:0]	address,
	input   [7:0]	data_in,
	output  [7:0]	data_out,
	input				halt,
	input				hold,
	input				irq,
	input				firq,
	input				nmi
);


reg rE=1'b0, rQ=1'b0;
always @(posedge clkx2) rQ <= ~rQ;
always @(negedge clkx2) rE <= ~rE;


mc6809i core (
	.D(data_in),.DOut(data_out),.ADDR(address),.RnW(rw),.E(rE),.Q(rQ),
	.nIRQ(~irq),.nFIRQ(~firq),.nNMI(~nmi),
	.nHALT(~halt),.nRESET(~rst),
	.nDMABREQ(1'b1)
);

assign vma = rE;

endmodule
module cpu6809
(
	input				clkx2,
	input				rst,
	output 			rw,
	output			vma,
	output [15:0]	address,
	input   [7:0]	data_in,
	output  [7:0]	data_out,
	input				halt,
	input				hold,
	input				irq,
	input				firq,
	input				nmi
);



reg rE=1'b0, rQ=1'b0;
always @(posedge clkx2) rQ <= ~rQ;
always @(negedge clkx2) rE <= ~rE;


mc6809i core (
	.D(data_in),.DOut(data_out),.ADDR(address),.RnW(rw),.E(rE),.Q(rQ),
	.nIRQ(~irq),.nFIRQ(~firq),.nNMI(~nmi),
	.nHALT(~halt),.nRESET(~rst),
	.nDMABREQ(1'b1)
);

assign vma = rE;

endmodule