FreeCalypso > hg > fc-small-hw
comparison 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 |
comparison
equal
deleted
inserted
replaced
12:ee17927ee326 | 13:c016671a4b4a |
---|---|
1 module board (); | |
2 | |
3 wire [4:0] KBC; | |
4 wire [4:0] KBR; | |
5 | |
6 header_10pin J1 (.pin_1(KBR[3]), | |
7 .pin_2(KBR[4]), | |
8 .pin_3(KBR[1]), | |
9 .pin_4(KBR[2]), | |
10 .pin_5(KBC[4]), | |
11 .pin_6(KBR[0]), | |
12 .pin_7(KBC[2]), | |
13 .pin_8(KBC[3]), | |
14 .pin_9(KBC[0]), | |
15 .pin_10(KBC[1]) | |
16 ); | |
17 | |
18 pushbutton_wrap S00 (KBR[0], KBC[0]); | |
19 pushbutton_wrap S01 (KBR[0], KBC[1]); | |
20 pushbutton_wrap S02 (KBR[0], KBC[2]); | |
21 pushbutton_wrap S03 (KBR[0], KBC[3]); | |
22 pushbutton_wrap S04 (KBR[0], KBC[4]); | |
23 | |
24 pushbutton_wrap S10 (KBR[1], KBC[0]); | |
25 pushbutton_wrap S11 (KBR[1], KBC[1]); | |
26 pushbutton_wrap S12 (KBR[1], KBC[2]); | |
27 pushbutton_wrap S13 (KBR[1], KBC[3]); | |
28 pushbutton_wrap S14 (KBR[1], KBC[4]); | |
29 | |
30 pushbutton_wrap S20 (KBR[2], KBC[0]); | |
31 pushbutton_wrap S21 (KBR[2], KBC[1]); | |
32 pushbutton_wrap S22 (KBR[2], KBC[2]); | |
33 pushbutton_wrap S23 (KBR[2], KBC[3]); | |
34 pushbutton_wrap S24 (KBR[2], KBC[4]); | |
35 | |
36 pushbutton_wrap S30 (KBR[3], KBC[0]); | |
37 pushbutton_wrap S31 (KBR[3], KBC[1]); | |
38 pushbutton_wrap S32 (KBR[3], KBC[2]); | |
39 pushbutton_wrap S33 (KBR[3], KBC[3]); | |
40 pushbutton_wrap S34 (KBR[3], KBC[4]); | |
41 | |
42 pushbutton_wrap S40 (KBR[4], KBC[0]); | |
43 pushbutton_wrap S41 (KBR[4], KBC[1]); | |
44 pushbutton_wrap S42 (KBR[4], KBC[2]); | |
45 pushbutton_wrap S43 (KBR[4], KBC[3]); | |
46 pushbutton_wrap S44 (KBR[4], KBC[4]); | |
47 | |
48 endmodule |