FreeCalypso > hg > freecalypso-schem2
annotate venus/src/periph/MAX1916.v @ 72:f0038b3d255f
new 32.768 kHz crystal part, same specs as before
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 03 Dec 2021 02:51:51 +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 |