annotate venus/src/periph/keyswitch_wrap.v @ 94:4502eec1e805

D405: use Nexperia part sourced from Digi-Key direct The previously selected part was from a Digi-Key marketplace vendor, and they seem to not actually have that part, as the order has been in limbo for over a month - so I put in the time and effort to look around, and found a readily available equivalent part from Nexperia.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Jan 2022 19:11:22 +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