FreeCalypso > hg > fc-small-hw
annotate duart28c/src/vsrc/eeprom_93Cx6_16bit.v @ 80:6bd0e0627938
sim-fpc-pasv: starting project with MCL
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 25 Oct 2022 03:17:34 +0000 |
parents | d80978bd645e |
children |
rev | line source |
---|---|
46
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 module eeprom_93Cx6_16bit (GND, VCC, CS, SK, DIN, DOUT); |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 input GND, VCC; |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 input CS, SK, DIN; |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 output DOUT; |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 /* instantiate the package; the mapping of signals to pins is defined here */ |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 pkg_8pin pkg (.pin_1(CS), |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .pin_2(SK), |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 .pin_3(DIN), |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 .pin_4(DOUT), |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 .pin_5(GND), |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 .pin_6(VCC), /* ORG input on some 93Cx6 variants */ |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 .pin_7(), /* no connect */ |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 .pin_8(VCC) |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ); |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
d80978bd645e
duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 endmodule |