FreeCalypso > hg > fc-small-hw
annotate lunakpd1/src/pushbutton_wrap.v @ 49:d4da3aed4c1e
duart28c/src/primitives: OD buffer pieces added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 29 Jul 2020 07:30:45 +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 |