1
|
# Load Quartus II Tcl Project package
|
2
|
package require ::quartus::project
|
3
|
|
4
|
set need_to_close_project 0
|
5
|
set make_assignments 1
|
6
|
|
7
|
# Set HSMC pin locations
|
8
|
|
9
|
# HSMC
|
10
|
set_location_assignment PIN_AF27 -to HSMC1_SMSDA
|
11
|
set_location_assignment PIN_AF28 -to HSMC1_SMSCL
|
12
|
set_location_assignment PIN_AG5 -to HSMC1_CLKOUT0
|
13
|
set_location_assignment PIN_Y15 -to HSMC1_CLKIN0
|
14
|
set_location_assignment PIN_AH21 -to HSMC1_D0
|
15
|
set_location_assignment PIN_AF18 -to HSMC1_D1
|
16
|
set_location_assignment PIN_AG21 -to HSMC1_D2
|
17
|
set_location_assignment PIN_AH12 -to HSMC1_D3
|
18
|
|
19
|
set_location_assignment PIN_AG10 -to HSMC1_CLKOUT1
|
20
|
set_location_assignment PIN_E8 -to HSMC1_CLKOUT2
|
21
|
set_location_assignment PIN_D12 -to HSMC1_CLKIN1
|
22
|
set_location_assignment PIN_E11 -to HSMC1_CLKIN2
|
23
|
set_location_assignment PIN_AF21 -to HSMC1_PRSNTn
|
24
|
|
25
|
set_location_assignment PIN_AH9 -to HSMC1_CLKOUT1_N
|
26
|
set_location_assignment PIN_D8 -to HSMC1_CLKOUT2_N
|
27
|
set_location_assignment PIN_C12 -to HSMC1_CLKIN1_N
|
28
|
set_location_assignment PIN_D11 -to HSMC1_CLKIN2_N
|
29
|
|
30
|
# HSMC TX
|
31
|
set_location_assignment PIN_AH23 -to HSMC1_TX0
|
32
|
set_location_assignment PIN_AF20 -to HSMC1_TX1
|
33
|
set_location_assignment PIN_AG19 -to HSMC1_TX2
|
34
|
set_location_assignment PIN_AG18 -to HSMC1_TX3
|
35
|
set_location_assignment PIN_AH17 -to HSMC1_TX4
|
36
|
set_location_assignment PIN_AG15 -to HSMC1_TX5
|
37
|
set_location_assignment PIN_AG14 -to HSMC1_TX6
|
38
|
set_location_assignment PIN_AG11 -to HSMC1_TX7
|
39
|
set_location_assignment PIN_AG9 -to HSMC1_TX8
|
40
|
set_location_assignment PIN_AG8 -to HSMC1_TX9
|
41
|
set_location_assignment PIN_AE8 -to HSMC1_TX10
|
42
|
set_location_assignment PIN_AE7 -to HSMC1_TX11
|
43
|
set_location_assignment PIN_AF5 -to HSMC1_TX12
|
44
|
set_location_assignment PIN_AF7 -to HSMC1_TX13
|
45
|
set_location_assignment PIN_AH6 -to HSMC1_TX14
|
46
|
set_location_assignment PIN_AE4 -to HSMC1_TX15
|
47
|
set_location_assignment PIN_AH3 -to HSMC1_TX16
|
48
|
|
49
|
# HSMC TX_N
|
50
|
set_location_assignment PIN_AH22 -to HSMC1_TX0_N
|
51
|
set_location_assignment PIN_AG20 -to HSMC1_TX1_N
|
52
|
set_location_assignment PIN_AH19 -to HSMC1_TX2_N
|
53
|
set_location_assignment PIN_AH18 -to HSMC1_TX3_N
|
54
|
set_location_assignment PIN_AH16 -to HSMC1_TX4_N
|
55
|
set_location_assignment PIN_AH14 -to HSMC1_TX5_N
|
56
|
set_location_assignment PIN_AH13 -to HSMC1_TX6_N
|
57
|
set_location_assignment PIN_AH11 -to HSMC1_TX7_N
|
58
|
set_location_assignment PIN_AH8 -to HSMC1_TX8_N
|
59
|
set_location_assignment PIN_AH7 -to HSMC1_TX9_N
|
60
|
set_location_assignment PIN_AF9 -to HSMC1_TX10_N
|
61
|
set_location_assignment PIN_AF8 -to HSMC1_TX11_N
|
62
|
set_location_assignment PIN_AF6 -to HSMC1_TX12_N
|
63
|
set_location_assignment PIN_AG6 -to HSMC1_TX13_N
|
64
|
set_location_assignment PIN_AH5 -to HSMC1_TX14_N
|
65
|
set_location_assignment PIN_AF4 -to HSMC1_TX15_N
|
66
|
set_location_assignment PIN_AH2 -to HSMC1_TX16_N
|
67
|
|
68
|
# HSMC RX
|
69
|
set_location_assignment PIN_AE20 -to HSMC1_RX0
|
70
|
set_location_assignment PIN_AA19 -to HSMC1_RX1
|
71
|
set_location_assignment PIN_AE19 -to HSMC1_RX2
|
72
|
set_location_assignment PIN_AD17 -to HSMC1_RX3
|
73
|
set_location_assignment PIN_W14 -to HSMC1_RX4
|
74
|
set_location_assignment PIN_AF17 -to HSMC1_RX5
|
75
|
set_location_assignment PIN_AF15 -to HSMC1_RX6
|
76
|
set_location_assignment PIN_U14 -to HSMC1_RX7
|
77
|
set_location_assignment PIN_AG13 -to HSMC1_RX8
|
78
|
set_location_assignment PIN_AE12 -to HSMC1_RX9
|
79
|
set_location_assignment PIN_AD11 -to HSMC1_RX10
|
80
|
set_location_assignment PIN_AF11 -to HSMC1_RX11
|
81
|
set_location_assignment PIN_T13 -to HSMC1_RX12
|
82
|
set_location_assignment PIN_T11 -to HSMC1_RX13
|
83
|
set_location_assignment PIN_V12 -to HSMC1_RX14
|
84
|
set_location_assignment PIN_V11 -to HSMC1_RX15
|
85
|
set_location_assignment PIN_AD10 -to HSMC1_RX16
|
86
|
|
87
|
# HSMC RX_N
|
88
|
set_location_assignment PIN_AD20 -to HSMC1_RX0_N
|
89
|
set_location_assignment PIN_AA18 -to HSMC1_RX1_N
|
90
|
set_location_assignment PIN_AD19 -to HSMC1_RX2_N
|
91
|
set_location_assignment PIN_AE17 -to HSMC1_RX3_N
|
92
|
set_location_assignment PIN_V13 -to HSMC1_RX4_N
|
93
|
set_location_assignment PIN_AG16 -to HSMC1_RX5_N
|
94
|
set_location_assignment PIN_AE15 -to HSMC1_RX6_N
|
95
|
set_location_assignment PIN_U13 -to HSMC1_RX7_N
|
96
|
set_location_assignment PIN_AF13 -to HSMC1_RX8_N
|
97
|
set_location_assignment PIN_AD12 -to HSMC1_RX9_N
|
98
|
set_location_assignment PIN_AE11 -to HSMC1_RX10_N
|
99
|
set_location_assignment PIN_AF10 -to HSMC1_RX11_N
|
100
|
set_location_assignment PIN_T12 -to HSMC1_RX12_N
|
101
|
set_location_assignment PIN_U11 -to HSMC1_RX13_N
|
102
|
set_location_assignment PIN_W12 -to HSMC1_RX14_N
|
103
|
set_location_assignment PIN_W11 -to HSMC1_RX15_N
|
104
|
set_location_assignment PIN_AE9 -to HSMC1_RX16_N
|
105
|
|
106
|
# Set HSMC Voltage standards
|
107
|
set_instance_assignment -name IO_STANDARD "2.5 V" -to HSMC1*
|
108
|
set_instance_assignment -name IO_STANDARD "2.5 V" -to HSMC1*
|
109
|
|
110
|
# Commit assignments
|
111
|
export_assignments
|
112
|
|
113
|
}
|
114
|
|