view venus/src/periph/battery.v @ 20:143768e8e729

Venus MCL: USB connector and ICs from DUART28
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 Nov 2021 06:19:00 +0000
parents fff7bffc1ab7
children 59fb15426c91
line wrap: on
line source

/* battery or power supply connector */

module battery (VBAT, GND, Third_pin);

output VBAT, GND;
inout Third_pin;

conn_3pin batt_conn (.pin_1(VBAT),
		     .pin_2(Third_pin),
		     .pin_3(GND)
	);

capacitor big_cap (VBAT, GND);

endmodule