view venus/src/periph/MAX1916.v @ 83:c27854430cb3

add 3-pin header for possible external boot control
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 Dec 2021 05:32:47 +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