FreeCalypso > hg > freecalypso-schem2
annotate venus/src/periph/charging_led.v @ 65:fb8fceab632c
venus/src/Makefile: unet-bind -c to check completeness
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 01 Dec 2021 21:47:20 +0000 |
parents | dfa0d08d8f2b |
children |
rev | line source |
---|---|
34
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 module charging_led (VCHG, LEDC); |
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 input VCHG, LEDC; |
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 wire mid; |
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 resistor R (VCHG, mid); |
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 basic_LED led (.A(mid), .C(LEDC)); |
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
dfa0d08d8f2b
charging LED circuit captured
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 endmodule |