data/full_repos/permissive/198223683/rtl/cpu/cpu_z80.v
1: b"%Error: data/full_repos/permissive/198223683/rtl/cpu/cpu_z80.v:34: Cannot find file containing module: 'T80s'\n T80s cpu(\n ^~~~\n        ... Looked in:\n             data/full_repos/permissive/198223683/rtl/cpu,data/full_repos/permissive/198223683/T80s\n             data/full_repos/permissive/198223683/rtl/cpu,data/full_repos/permissive/198223683/T80s.v\n             data/full_repos/permissive/198223683/rtl/cpu,data/full_repos/permissive/198223683/T80s.sv\n             T80s\n             T80s.v\n             T80s.sv\n             obj_dir/T80s\n             obj_dir/T80s.v\n             obj_dir/T80s.sv\n%Error: Exiting due to 1 error(s)\n"
module cpu_z80(
	input CLK_4M,
	input nRESET,
	input [7:0] SDD_IN,
	output [7:0] SDD_OUT,
	output [15:0] SDA,
	output reg nIORQ,
	output nMREQ,
	output reg nRD, nWR,
	input nINT, nNMI, nWAIT
);

	wire RFSH_n, MREQ_n;
	assign nMREQ = MREQ_n | ~RFSH_n;

	T80s cpu(
		.RESET_n(nRESET),
		.CLK(CLK_4M),
		.CEN(1),
		.WAIT_n(nWAIT),
		.INT_n(nINT),
		.NMI_n(nNMI),
		.MREQ_n(MREQ_n),
		.IORQ_n(nIORQ),
		.RD_n(nRD),
		.WR_n(nWR),
		.RFSH_n(RFSH_n),
		.A(SDA),
		.DI(SDD_IN),
		.DO(SDD_OUT)
	);

endmodule
module cpu_z80(
	input CLK_4M,
	input nRESET,
	input [7:0] SDD_IN,
	output [7:0] SDD_OUT,
	output [15:0] SDA,
	output reg nIORQ,
	output nMREQ,
	output reg nRD, nWR,
	input nINT, nNMI, nWAIT
);


	wire RFSH_n, MREQ_n;
	assign nMREQ = MREQ_n | ~RFSH_n;

	T80s cpu(
		.RESET_n(nRESET),
		.CLK(CLK_4M),
		.CEN(1),
		.WAIT_n(nWAIT),
		.INT_n(nINT),
		.NMI_n(nNMI),
		.MREQ_n(MREQ_n),
		.IORQ_n(nIORQ),
		.RD_n(nRD),
		.WR_n(nWR),
		.RFSH_n(RFSH_n),
		.A(SDA),
		.DI(SDD_IN),
		.DO(SDD_OUT)
	);

endmodule