diff venus/src/usb/eeprom_93Cx6_16bit.v @ 23:9f70dc110ad7

venus/src/usb: building blocks from DUART28
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 Nov 2021 17:48:18 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/venus/src/usb/eeprom_93Cx6_16bit.v	Sat Nov 20 17:48:18 2021 +0000
@@ -0,0 +1,19 @@
+module eeprom_93Cx6_16bit (GND, VCC, CS, SK, DIN, DOUT);
+
+input GND, VCC;
+input CS, SK, DIN;
+output DOUT;
+
+/* instantiate the package; the mapping of signals to pins is defined here */
+
+pkg_IC_8pin pkg (.pin_1(CS),
+		 .pin_2(SK),
+		 .pin_3(DIN),
+		 .pin_4(DOUT),
+		 .pin_5(GND),
+		 .pin_6(VCC),	/* ORG input on some 93Cx6 variants */
+		 .pin_7(),	/* no connect */
+		 .pin_8(VCC)
+	);
+
+endmodule