FreeCalypso > hg > fc-small-hw
annotate lunakpd1/src/pushbutton_wrap.v @ 15:36a6ba7f30ca
lunakpd1 placetool written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 09 May 2020 05:11:54 +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 |