FreeCalypso > hg > fc-small-hw
annotate mmtb1/schem+bom/vsrc/pushbutton_wrap.v @ 32:0ce4b2fb0f11
duart28 MCL: resistors captured
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 04 Jul 2020 23:37:47 +0000 |
parents | 0f9bdd60ce50 |
children |
rev | line source |
---|---|
0
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* wrapper for the 4-pin pushbutton package */ |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 module pushbutton_wrap (side1, side2); |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 input side1, side2; |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 pkg_pushbutton_4pin pkg (.pin_1(side1), |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 .pin_2(side1), |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 .pin_3(side2), |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .pin_4(side2) |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ); |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 endmodule |