FreeCalypso > hg > fc-small-hw
annotate lunalcd2/src/vsrc/MAX1916.v @ 70:000411b39576
lunalcd2/src/Makefile: generate BOM outputs
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 26 Jun 2021 21:16:48 +0000 |
parents | d5d14b426faa |
children |
rev | line source |
---|---|
59
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 module MAX1916 (GND, EN, SET, LEDK); |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 input GND, EN, SET; |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 output [1:3] LEDK; |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 /* instantiate the package; the mapping of signals to pins is defined here */ |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 pkg_SOT23_6 pkg (.pin_1(EN), |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 .pin_2(GND), |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .pin_3(SET), |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 .pin_4(LEDK[3]), |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 .pin_5(LEDK[2]), |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 .pin_6(LEDK[1]) |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ); |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
d5d14b426faa
lunalcd2: structural Verilog source captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 endmodule |