FreeCalypso > hg > freecalypso-schem2
annotate venus/src/usb/usb_conn.v @ 33:1d2b57d4f1c9
intnoconn approach to charging current sense resistor
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 22 Nov 2021 03:03:15 +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 /* |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * This module captures the mini-USB connector. |
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 usb_conn (GND, VBUS, Dminus, Dplus, ID); |
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 inout GND, VBUS, Dminus, Dplus, ID; |
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 conn_miniUSB_plus4 conn (.pin_1(VBUS), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .pin_2(Dminus), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 .pin_3(Dplus), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 .pin_4(ID), |
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 /* mounting pads */ |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 .pin_6(GND), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 .pin_7(GND), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 .pin_8(GND), |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 .pin_9(GND) |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 ); |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
9f70dc110ad7
venus/src/usb: building blocks from DUART28
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 endmodule |