annotate venus/src/usb/FT2232D_chip.v @ 94:4502eec1e805

D405: use Nexperia part sourced from Digi-Key direct The previously selected part was from a Digi-Key marketplace vendor, and they seem to not actually have that part, as the order has been in limbo for over a month - so I put in the time and effort to look around, and found a readily available equivalent part from Nexperia.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Jan 2022 19:11:22 +0000
parents 9f70dc110ad7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * This module encapsulates the FT2232D chip and its pinout.
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 */
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 module FT2232D_chip (GND, AGND, VCC, AVCC, VCCIOA, VCCIOB, OUT_3V3,
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 USBDP, USBDM, EECS, EESK, EEDATA, RESET, RSTOUT, TEST, PWREN,
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 XTIN, XTOUT, ADBUS, ACBUS, SI_WUA, BDBUS, BCBUS, SI_WUB);
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 input GND, AGND, VCC, AVCC, VCCIOA, VCCIOB;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 output OUT_3V3;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 inout USBDP, USBDM;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 output EECS, EESK;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 inout EEDATA;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 input RESET, TEST;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 output RSTOUT, PWREN;
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 input XTIN;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 output XTOUT;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 inout [7:0] ADBUS, BDBUS;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 inout [3:0] ACBUS, BCBUS;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 input SI_WUA, SI_WUB;
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 /* 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
27
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 pkg_LQFP48 pkg (.pin_1(EESK),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 .pin_2(EEDATA),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 .pin_3(VCC),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 .pin_4(RESET),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 .pin_5(RSTOUT),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 .pin_6(OUT_3V3),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 .pin_7(USBDP),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 .pin_8(USBDM),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 .pin_9(GND),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 .pin_10(SI_WUA),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 .pin_11(ACBUS[3]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 .pin_12(ACBUS[2]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 .pin_13(ACBUS[1]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 .pin_14(VCCIOA),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 .pin_15(ACBUS[0]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 .pin_16(ADBUS[7]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 .pin_17(ADBUS[6]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 .pin_18(GND),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 .pin_19(ADBUS[5]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 .pin_20(ADBUS[4]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 .pin_21(ADBUS[3]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 .pin_22(ADBUS[2]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 .pin_23(ADBUS[1]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 .pin_24(ADBUS[0]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 .pin_25(GND),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 .pin_26(SI_WUB),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 .pin_27(BCBUS[3]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 .pin_28(BCBUS[2]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 .pin_29(BCBUS[1]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 .pin_30(BCBUS[0]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 .pin_31(VCCIOB),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 .pin_32(BDBUS[7]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 .pin_33(BDBUS[6]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 .pin_34(GND),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 .pin_35(BDBUS[5]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 .pin_36(BDBUS[4]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 .pin_37(BDBUS[3]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 .pin_38(BDBUS[2]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 .pin_39(BDBUS[1]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 .pin_40(BDBUS[0]),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 .pin_41(PWREN),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 .pin_42(VCC),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 .pin_43(XTIN),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 .pin_44(XTOUT),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 .pin_45(AGND),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 .pin_46(AVCC),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 .pin_47(TEST),
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 .pin_48(EECS)
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 );
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77
9f70dc110ad7 venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 endmodule