data/full_repos/permissive/521337848/Hardware/IO/keyboard.v
data/verilator_xmls/64949a45-08a7-4adc-9ae7-834cd7c14722.xml
module keyboard(
	input clk,
	input rst,
		
	input ps2clk,
	input ps2data,
	
	output irq,
	output[31:0] out
);

wire rdy;
wire[7:0] outK;

Keyde kD(.clk(clk),
			
			.rst(rst),
			
			.ps2_clk(ps2clk),
			.ps2_data(ps2data), 
			
			.out(outK)
);

keyController kC(.clk(clk),
					  .rst(rst),
					  .irq(irq),
					  
					  .in(outK),
					  
						.out(out)
);


endmodule
module keyboard(
	input clk,
	input rst,
		
	input ps2clk,
	input ps2data,
	
	output irq,
	output[31:0] out
);


wire rdy;
wire[7:0] outK;

Keyde kD(.clk(clk),
			
			.rst(rst),
			
			.ps2_clk(ps2clk),
			.ps2_data(ps2data), 
			
			.out(outK)
);

keyController kC(.clk(clk),
					  .rst(rst),
					  .irq(irq),
					  
					  .in(outK),
					  
						.out(out)
);


endmodule