annotate venus/src/periph/keyswitch_wrap.v @ 69:de44df15cf05

MCL capacitors: convert to parts
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 02 Dec 2021 07:20:13 +0000
parents 3dbe73bbc0a4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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