data/full_repos/permissive/113654920/hdl/Top.v
1: b"%Error: data/full_repos/permissive/113654920/hdl/Top.v:25: Cannot find file containing module: 'dna_p1'\ndna_p1 inst_ReadDNA(\n^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/113654920/hdl,data/full_repos/permissive/113654920/dna_p1\n             data/full_repos/permissive/113654920/hdl,data/full_repos/permissive/113654920/dna_p1.v\n             data/full_repos/permissive/113654920/hdl,data/full_repos/permissive/113654920/dna_p1.sv\n             dna_p1\n             dna_p1.v\n             dna_p1.sv\n             obj_dir/dna_p1\n             obj_dir/dna_p1.v\n             obj_dir/dna_p1.sv\n%Error: data/full_repos/permissive/113654920/hdl/Top.v:32: Cannot find file containing module: 'CheckDNA'\nCheckDNA inst_CheckDNA (\n^~~~~~~~\n%Error: data/full_repos/permissive/113654920/hdl/Top.v:50: Cannot find file containing module: 'RAM'\nRAM inst_RAM (\n^~~\n%Error: Exiting due to 3 error(s)\n"
module  Top(
	input				reset,
	input				clk4,
	input				IDE_CS,
	output			dna_pass,
	output [3:0]	KILL
);


wire [63:0] dna64bits;
wire dna_valid;

wire	SR_ena;

wire [9:0] addra;
wire [15:0] douta;







dna_p1 inst_ReadDNA(
	.ATV(~reset),
   .CLK4(clk4),
   .DNA_64(dna64bits),
   .DNA_Valid(dna_valid)
);
	 
CheckDNA inst_CheckDNA (
	.clk4			(clk4),
	.reset		(reset),
	.DNA_64		(dna64bits),
	.dna_valid	(dna_valid),

	.ROM_Data	(douta),
	.IDE_CS		(IDE_CS),
	.DNA_ENA		(SR_ena),
	.DNA_REG		(SR_reg),
	.DNA_Addr	(addra),

	.dna_pass	(dna_pass),
	.KILL			(KILL)
);



RAM inst_RAM (
	.clka(clk4),
	.addra(addra),
	.ena(SR_ena),
	.regcea(SR_reg),
	.douta(douta));
















endmodule
module  Top(
	input				reset,
	input				clk4,
	input				IDE_CS,
	output			dna_pass,
	output [3:0]	KILL
);



wire [63:0] dna64bits;
wire dna_valid;

wire	SR_ena;

wire [9:0] addra;
wire [15:0] douta;







dna_p1 inst_ReadDNA(
	.ATV(~reset),
   .CLK4(clk4),
   .DNA_64(dna64bits),
   .DNA_Valid(dna_valid)
);
	 
CheckDNA inst_CheckDNA (
	.clk4			(clk4),
	.reset		(reset),
	.DNA_64		(dna64bits),
	.dna_valid	(dna_valid),

	.ROM_Data	(douta),
	.IDE_CS		(IDE_CS),
	.DNA_ENA		(SR_ena),
	.DNA_REG		(SR_reg),
	.DNA_Addr	(addra),

	.dna_pass	(dna_pass),
	.KILL			(KILL)
);



RAM inst_RAM (
	.clka(clk4),
	.addra(addra),
	.ena(SR_ena),
	.regcea(SR_reg),
	.douta(douta));
















endmodule