annotate venus/src/periph/keyswitch_wrap.v @ 77:c273bf8a93cb

precharge current limiting resistor nailed down
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 05 Dec 2021 03:07:45 +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