comparison venus/src/periph/battery.v @ 12:fff7bffc1ab7

venus/src/periph/battery.v: adapted from FCDEV3B
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Nov 2021 06:48:25 +0000
parents
children 59fb15426c91
comparison
equal deleted inserted replaced
11:a70d1c104205 12:fff7bffc1ab7
1 /* battery or power supply connector */
2
3 module battery (VBAT, GND, Third_pin);
4
5 output VBAT, GND;
6 inout Third_pin;
7
8 conn_3pin batt_conn (.pin_1(VBAT),
9 .pin_2(Third_pin),
10 .pin_3(GND)
11 );
12
13 capacitor big_cap (VBAT, GND);
14
15 endmodule