FreeCalypso > hg > freecalypso-schem2
annotate venus/src/usb/eeprom_93Cx6_16bit.v @ 44:04abc82f8280
MCL and primitives: LCD and MAX1916 from lunalcd2
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 27 Nov 2021 01:09:05 +0000 |
parents | 9f70dc110ad7 |
children |
rev | line source |
---|---|
23
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 module eeprom_93Cx6_16bit (GND, VCC, CS, SK, DIN, DOUT); |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 input GND, VCC; |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 input CS, SK, DIN; |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 output DOUT; |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 /* instantiate the package; the mapping of signals to pins is defined here */ |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 pkg_IC_8pin pkg (.pin_1(CS), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .pin_2(SK), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 .pin_3(DIN), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 .pin_4(DOUT), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 .pin_5(GND), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 .pin_6(VCC), /* ORG input on some 93Cx6 variants */ |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 .pin_7(), /* no connect */ |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 .pin_8(VCC) |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ); |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 endmodule |