data/full_repos/permissive/407067659/rtl/custom/KONAMI-1/KONAMI1.sv
1: b'%Error: data/full_repos/permissive/407067659/rtl/custom/KONAMI-1/KONAMI1.sv:56: Cannot find file containing module: \'mc6809is\'\nmc6809is #(.IS_KONAMI1("TRUE")) cpucore\n^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/407067659/rtl/custom/KONAMI-1,data/full_repos/permissive/407067659/mc6809is\n             data/full_repos/permissive/407067659/rtl/custom/KONAMI-1,data/full_repos/permissive/407067659/mc6809is.v\n             data/full_repos/permissive/407067659/rtl/custom/KONAMI-1,data/full_repos/permissive/407067659/mc6809is.sv\n             mc6809is\n             mc6809is.v\n             mc6809is.sv\n             obj_dir/mc6809is\n             obj_dir/mc6809is.v\n             obj_dir/mc6809is.sv\n%Error: Exiting due to 1 error(s)\n'
module KONAMI1
(
    input   CLK,
    input   fallE_en,
    input   fallQ_en,

    input   [7:0]  D,
    output  [7:0]  DOut,
    output  [15:0] ADDR,
    output  RnW,
    output  BS,
    output  BA,
    input   nIRQ,
    input   nFIRQ,
    input   nNMI,
    output  AVMA,
    output  BUSY,
    output  LIC,
    input   nHALT,
    input   nRESET
);


wire [7:0] opcode = D ^ {ADDR[1], 1'b0, ~ADDR[1], 1'b0, ADDR[3], 1'b0, ~ADDR[3], 1'b0};



mc6809is #(.IS_KONAMI1("TRUE")) cpucore
(
	.CLK(CLK),
	.fallE_en(fallE_en),
	.fallQ_en(fallQ_en),
	.OP(opcode),
	.nHALT(nHALT),
	.nRESET(nRESET),
	.D(D),
	.DOut(DOut),
	.ADDR(ADDR),
	.RnW(RnW),
	.BS(BS),
	.BA(BA),
	.nIRQ(nIRQ),
	.nFIRQ(nFIRQ),
	.nNMI(nNMI),
	.AVMA(AVMA),
	.BUSY(BUSY),
	.LIC(LIC),
	.nDMABREQ(1)
);

endmodule
module KONAMI1
(
    input   CLK,
    input   fallE_en,
    input   fallQ_en,

    input   [7:0]  D,
    output  [7:0]  DOut,
    output  [15:0] ADDR,
    output  RnW,
    output  BS,
    output  BA,
    input   nIRQ,
    input   nFIRQ,
    input   nNMI,
    output  AVMA,
    output  BUSY,
    output  LIC,
    input   nHALT,
    input   nRESET
);



wire [7:0] opcode = D ^ {ADDR[1], 1'b0, ~ADDR[1], 1'b0, ADDR[3], 1'b0, ~ADDR[3], 1'b0};



mc6809is #(.IS_KONAMI1("TRUE")) cpucore
(
	.CLK(CLK),
	.fallE_en(fallE_en),
	.fallQ_en(fallQ_en),
	.OP(opcode),
	.nHALT(nHALT),
	.nRESET(nRESET),
	.D(D),
	.DOut(DOut),
	.ADDR(ADDR),
	.RnW(RnW),
	.BS(BS),
	.BA(BA),
	.nIRQ(nIRQ),
	.nFIRQ(nFIRQ),
	.nNMI(nNMI),
	.AVMA(AVMA),
	.BUSY(BUSY),
	.LIC(LIC),
	.nDMABREQ(1)
);

endmodule