view venus/src/periph/battery.v @ 23:9f70dc110ad7

venus/src/usb: building blocks from DUART28
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 Nov 2021 17:48:18 +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