FreeCalypso > hg > fc-small-hw
diff lunakpd1/src/schem.v @ 13:c016671a4b4a
lunakpd1 project started
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 09 May 2020 00:38:07 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lunakpd1/src/schem.v Sat May 09 00:38:07 2020 +0000 @@ -0,0 +1,48 @@ +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