view 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
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