FreeCalypso > hg > fc-small-hw
annotate lunakpd1/src/pushbutton_wrap.v @ 84:dbd57e8dd82a default tip
sim-fpc-pasv/pcb: add Makefile for Gerber output
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 02 Nov 2022 07:22:44 +0000 |
parents | c016671a4b4a |
children |
rev | line source |
---|---|
13
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* wrapper for the 4-pin pushbutton package */ |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 module pushbutton_wrap (side1, side2); |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 input side1, side2; |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 pkg_pushbutton_4pin pkg (.pin_1(side1), |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 .pin_2(side1), |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 .pin_3(side2), |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .pin_4(side2) |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ); |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
c016671a4b4a
lunakpd1 project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 endmodule |