FreeCalypso > hg > freecalypso-schem2
annotate venus/src/periph/buzzer_wrap.v @ 98:3ab69117b09f default tip
minnie/doc/Design-spec: finished in the first pass
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 01 Oct 2023 08:17:05 +0000 |
parents | c661a87159c2 |
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 |