FreeCalypso > hg > freecalypso-schem2
annotate venus/src/periph/battery.v @ 45:4c4eeacce681
74LVC2G125 buffer for BL control captured at MCL level
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 27 Nov 2021 01:34:05 +0000 |
parents | fff7bffc1ab7 |
children | 59fb15426c91 |
rev | line source |
---|---|
12
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* battery or power supply connector */ |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 module battery (VBAT, GND, Third_pin); |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 output VBAT, GND; |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 inout Third_pin; |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 conn_3pin batt_conn (.pin_1(VBAT), |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 .pin_2(Third_pin), |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .pin_3(GND) |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ); |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 capacitor big_cap (VBAT, GND); |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
fff7bffc1ab7
venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 endmodule |