view venus/src/periph/Si9407AEY.v @ 96:ae6951a70d2b

U403: change from 74LVC2G125 to 74LVC2G126 The two parts have the same footprint and pinout, but '126 3-state buffers have active-high OE inputs instead of active-low. The change is purely for software benefit: having GPIO 11/12 set to 1 correspond to that current contribution being enabled will be much more intuitive for developers and tinkerers.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 09 May 2022 19:27:11 +0000
parents 74a89c0a6466
children
line wrap: on
line source

/*
 * This Verilog module encapsulates a MOSFET in a Si9407AEY-compatible
 * SOIC-8 footprint.
 */

module Si9407AEY (G, S, D);

input G, S;
output D;

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

pkg_IC_8pin pkg (.pin_1(S),
		 .pin_2(S),
		 .pin_3(S),
		 .pin_4(G),
		 .pin_5(D),
		 .pin_6(D),
		 .pin_7(D),
		 .pin_8(D)
	);

endmodule