FreeCalypso > hg > freecalypso-schem2
annotate venus/src/periph/MAX1916.v @ 69:de44df15cf05
MCL capacitors: convert to parts
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 02 Dec 2021 07:20:13 +0000 |
parents | c247abb89302 |
children |
rev | line source |
---|---|
46
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 module MAX1916 (GND, EN, SET, LEDK); |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 input GND, EN, SET; |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 output [1:3] LEDK; |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 /* instantiate the package; the mapping of signals to pins is defined here */ |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 pkg_SOT23_6 pkg (.pin_1(EN), |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 .pin_2(GND), |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .pin_3(SET), |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 .pin_4(LEDK[3]), |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 .pin_5(LEDK[2]), |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 .pin_6(LEDK[1]) |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ); |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
c247abb89302
MAX1916.v and lcd_module.v from lunalcd2
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 endmodule |