annotate duart28c/src/vsrc/FT2232D_chip.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * This module encapsulates the FT2232D chip and its pinout.
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 */
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 module FT2232D_chip (GND, AGND, VCC, AVCC, VCCIOA, VCCIOB, OUT_3V3,
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 USBDP, USBDM, EECS, EESK, EEDATA, RESET, RSTOUT, TEST, PWREN,
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 XTIN, XTOUT, ADBUS, ACBUS, SI_WUA, BDBUS, BCBUS, SI_WUB);
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 input GND, AGND, VCC, AVCC, VCCIOA, VCCIOB;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 output OUT_3V3;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 inout USBDP, USBDM;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 output EECS, EESK;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 inout EEDATA;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 input RESET, TEST;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 output RSTOUT, PWREN;
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 input XTIN;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 output XTOUT;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 inout [7:0] ADBUS, BDBUS;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 inout [3:0] ACBUS, BCBUS;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 input SI_WUA, SI_WUB;
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 /* 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
27
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 pkg_LQFP48 pkg (.pin_1(EESK),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 .pin_2(EEDATA),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 .pin_3(VCC),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 .pin_4(RESET),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 .pin_5(RSTOUT),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 .pin_6(OUT_3V3),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 .pin_7(USBDP),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 .pin_8(USBDM),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 .pin_9(GND),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 .pin_10(SI_WUA),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 .pin_11(ACBUS[3]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 .pin_12(ACBUS[2]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 .pin_13(ACBUS[1]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 .pin_14(VCCIOA),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 .pin_15(ACBUS[0]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 .pin_16(ADBUS[7]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 .pin_17(ADBUS[6]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 .pin_18(GND),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 .pin_19(ADBUS[5]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 .pin_20(ADBUS[4]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 .pin_21(ADBUS[3]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 .pin_22(ADBUS[2]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 .pin_23(ADBUS[1]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 .pin_24(ADBUS[0]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 .pin_25(GND),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 .pin_26(SI_WUB),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 .pin_27(BCBUS[3]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 .pin_28(BCBUS[2]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 .pin_29(BCBUS[1]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 .pin_30(BCBUS[0]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 .pin_31(VCCIOB),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 .pin_32(BDBUS[7]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 .pin_33(BDBUS[6]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 .pin_34(GND),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 .pin_35(BDBUS[5]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 .pin_36(BDBUS[4]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 .pin_37(BDBUS[3]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 .pin_38(BDBUS[2]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 .pin_39(BDBUS[1]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 .pin_40(BDBUS[0]),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 .pin_41(PWREN),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 .pin_42(VCC),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 .pin_43(XTIN),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 .pin_44(XTOUT),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 .pin_45(AGND),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 .pin_46(AVCC),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 .pin_47(TEST),
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 .pin_48(EECS)
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 );
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77
d80978bd645e duart28c: started with a copy from duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 endmodule