FreeCalypso > hg > freecalypso-schem2
annotate venus/src/periph/buzzer_wrap.v @ 60:c661a87159c2
buzzer component nailed down
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 01 Dec 2021 06:50:25 +0000 |
parents | |
children |
rev | line source |
---|---|
60
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* wrapper for the buzzer PCB footprint */ |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 module buzzer_wrap (Pos, Neg); |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 input Pos, Neg; |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 pkg_buzzer pkg (.pin_1(Pos), |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 .pin_2(Neg), |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 .pin_3(), /* no connect */ |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .pin_4() /* ditto */ |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ); |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
c661a87159c2
buzzer component nailed down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 endmodule |