FreeCalypso > hg > fc-small-hw
comparison fc-uja/schem+bom/vsrc/target_if.v @ 0:0f9bdd60ce50
fc-small-hw separated from old freecalypso-schem repo
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 21 Oct 2019 00:53:38 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0f9bdd60ce50 |
---|---|
1 /* This module captures our target interfaces. */ | |
2 | |
3 module target_if (GND, JTAG_TCK, JTAG_TDI, JTAG_TDO, JTAG_TMS, nTESTRESET, | |
4 nEMU, UART_TxD, UART_RxD); | |
5 | |
6 input GND; | |
7 | |
8 input JTAG_TCK, JTAG_TDI, JTAG_TMS; | |
9 output JTAG_TDO, nTESTRESET; | |
10 inout [1:0] nEMU; | |
11 | |
12 input UART_TxD; | |
13 output UART_RxD; | |
14 | |
15 /* TI JTAG header */ | |
16 | |
17 header_14pin ti_jtag_hdr (.pin_1(JTAG_TMS), | |
18 .pin_2(nTESTRESET), | |
19 .pin_3(JTAG_TDI), | |
20 .pin_4(), /* no connect */ | |
21 .pin_5(), /* no connect */ | |
22 .pin_6(), /* no connect */ | |
23 .pin_7(JTAG_TDO), | |
24 .pin_8(GND), | |
25 .pin_9(), /* no connect */ | |
26 .pin_10(GND), | |
27 .pin_11(JTAG_TCK), | |
28 .pin_12(GND), | |
29 .pin_13(nEMU[0]), | |
30 .pin_14(nEMU[1]) | |
31 ); | |
32 | |
33 /* 3-pin UART header */ | |
34 | |
35 header_3pin uart_hdr ( .pin_1(GND), | |
36 .pin_2(UART_RxD), | |
37 .pin_3(UART_TxD) | |
38 ); | |
39 | |
40 /* FFC connector for FreeCalypso handset boards */ | |
41 | |
42 conn_12pin_plus2 ffc_conn (.pin_1(), /* no connect */ | |
43 .pin_2(UART_TxD), | |
44 .pin_3(nTESTRESET), | |
45 .pin_4(JTAG_TDI), | |
46 .pin_5(JTAG_TMS), | |
47 .pin_6(JTAG_TCK), | |
48 .pin_7(UART_RxD), | |
49 .pin_8(JTAG_TDO), | |
50 .pin_9(), /* no connect */ | |
51 .pin_10(GND), | |
52 .pin_11(), /* no connect */ | |
53 .pin_12(), /* no connect */ | |
54 /* mounting pads */ | |
55 .pin_13(GND), | |
56 .pin_14(GND) | |
57 ); | |
58 | |
59 endmodule |