view venus/src/periph/MAX1916.v @ 62:a1b55af7f04d

clamping diode pair for the buzzer driving circuit
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 01 Dec 2021 19:26:29 +0000
parents c247abb89302
children
line wrap: on
line source

module MAX1916 (GND, EN, SET, LEDK);

input GND, EN, SET;
output [1:3] LEDK;

/* instantiate the package; the mapping of signals to pins is defined here */

pkg_SOT23_6 pkg (.pin_1(EN),
		 .pin_2(GND),
		 .pin_3(SET),
		 .pin_4(LEDK[3]),
		 .pin_5(LEDK[2]),
		 .pin_6(LEDK[1])
	);

endmodule