view lunakpd1/src/schem.v @ 80:6bd0e0627938

sim-fpc-pasv: starting project with MCL
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 25 Oct 2022 03:17:34 +0000
parents c016671a4b4a
children
line wrap: on
line source

module board ();

wire [4:0] KBC;
wire [4:0] KBR;

header_10pin J1 (.pin_1(KBR[3]),
		 .pin_2(KBR[4]),
		 .pin_3(KBR[1]),
		 .pin_4(KBR[2]),
		 .pin_5(KBC[4]),
		 .pin_6(KBR[0]),
		 .pin_7(KBC[2]),
		 .pin_8(KBC[3]),
		 .pin_9(KBC[0]),
		 .pin_10(KBC[1])
	);

pushbutton_wrap S00 (KBR[0], KBC[0]);
pushbutton_wrap S01 (KBR[0], KBC[1]);
pushbutton_wrap S02 (KBR[0], KBC[2]);
pushbutton_wrap S03 (KBR[0], KBC[3]);
pushbutton_wrap S04 (KBR[0], KBC[4]);

pushbutton_wrap S10 (KBR[1], KBC[0]);
pushbutton_wrap S11 (KBR[1], KBC[1]);
pushbutton_wrap S12 (KBR[1], KBC[2]);
pushbutton_wrap S13 (KBR[1], KBC[3]);
pushbutton_wrap S14 (KBR[1], KBC[4]);

pushbutton_wrap S20 (KBR[2], KBC[0]);
pushbutton_wrap S21 (KBR[2], KBC[1]);
pushbutton_wrap S22 (KBR[2], KBC[2]);
pushbutton_wrap S23 (KBR[2], KBC[3]);
pushbutton_wrap S24 (KBR[2], KBC[4]);

pushbutton_wrap S30 (KBR[3], KBC[0]);
pushbutton_wrap S31 (KBR[3], KBC[1]);
pushbutton_wrap S32 (KBR[3], KBC[2]);
pushbutton_wrap S33 (KBR[3], KBC[3]);
pushbutton_wrap S34 (KBR[3], KBC[4]);

pushbutton_wrap S40 (KBR[4], KBC[0]);
pushbutton_wrap S41 (KBR[4], KBC[1]);
pushbutton_wrap S42 (KBR[4], KBC[2]);
pushbutton_wrap S43 (KBR[4], KBC[3]);
pushbutton_wrap S44 (KBR[4], KBC[4]);

endmodule