view venus/src/periph/MAX1916.v @ 46:c247abb89302

MAX1916.v and lcd_module.v from lunalcd2
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 Nov 2021 01:43:32 +0000
parents
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