FreeCalypso > hg > freecalypso-schem2
annotate venus/src/periph/keyswitch_wrap.v @ 73:a730e72d4bec
new 3.3V USB LDO regulator part, direct replacement
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 03 Dec 2021 07:56:26 +0000 |
parents | 3dbe73bbc0a4 |
children |
rev | line source |
---|---|
50
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* wrapper for the 4-pin tactile switch package */ |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 module keyswitch_wrap (side1, side2); |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 input side1, side2; |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 switch_4pin pkg (.pin_1(side1), |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 .pin_2(side1), |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 .pin_3(side2), |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .pin_4(side2) |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ); |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
3dbe73bbc0a4
Verilog src: preparations for adding the keypad
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 endmodule |