annotate lunakpd1/src/pushbutton_wrap.v @ 71:31c8b1291b4a

lunalcd3 project started
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Nov 2021 04:59:47 +0000
parents c016671a4b4a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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