3165 |
kakl |
1 |
# Board: www.mlab.cz S3AN01A |
|
|
2 |
# Device: XC3S50AN-4C |
|
|
3 |
# Setting: Generate Programming File / Startup Options / Drive Done Pin High: yes |
|
|
4 |
# Main Clock (Embedded 100MHz board oscillator) |
|
|
5 |
NET "CLK100MHz" LOC = P60 |IOSTANDARD = LVCMOS33; |
|
|
6 |
#NET "CLK100MHz" LOC = P125 | IOSTANDARD = LVCMOS33; |
3219 |
kakl |
7 |
#NET "SCLK" LOC = P1 |IOSTANDARD = LVCMOS33; |
3165 |
kakl |
8 |
|
|
|
9 |
NET "CLK100MHz" TNM_NET = CLK100MHz; |
|
|
10 |
TIMESPEC TS_CLK100MHz = PERIOD "CLK100MHz" 100 MHz HIGH 50%; |
|
|
11 |
|
3219 |
kakl |
12 |
NET "EXT_CLOCK" TNM_NET = EXT_CLOCK; |
|
|
13 |
TIMESPEC TS_EXT_CLOCK = PERIOD "EXT_CLOCK" 4.5 ns HIGH 50%; |
3165 |
kakl |
14 |
|
3219 |
kakl |
15 |
#NET "SCLK" TNM_NET = SCLK; |
|
|
16 |
#TIMESPEC TS_SCLK = PERIOD "SCLK" 50 MHz HIGH 10%; |
|
|
17 |
NET "B<0>" CLOCK_DEDICATED_ROUTE = FALSE; |
|
|
18 |
|
3165 |
kakl |
19 |
# For DCM connection across the whole chip |
|
|
20 |
NET "CLK100MHz" CLOCK_DEDICATED_ROUTE = FALSE; |
|
|
21 |
NET "PS2_CLK2" CLOCK_DEDICATED_ROUTE = FALSE; |
|
|
22 |
|
|
|
23 |
# Mode signals |
|
|
24 |
NET "M[0]" LOC = P38 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
25 |
NET "M[1]" LOC = P37 |IOSTANDARD = LVCMOS33 |PULLUP = YES; # Use jumper on M1 and M2 for boot from external SPI Flash Memory |
|
|
26 |
NET "M[2]" LOC = P39 |IOSTANDARD = LVCMOS33 |PULLUP = YES; # Use jumper on M2 for boot from internal Flash memory |
|
|
27 |
# SPI Flash Vendor Mode Select (for external SPI boot Flash) |
|
|
28 |
NET "VS[0]" LOC = P45 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
29 |
NET "VS[1]" LOC = P44 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
30 |
NET "VS[2]" LOC = P43 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
31 |
|
|
|
32 |
# DIP Switches (positive signals with pull-down) |
|
|
33 |
NET "DIPSW[0]" LOC = P143 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
34 |
NET "DIPSW[1]" LOC = P142 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
35 |
NET "DIPSW[2]" LOC = P140 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
36 |
NET "DIPSW[3]" LOC = P139 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
37 |
NET "DIPSW[4]" LOC = P138 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
38 |
NET "DIPSW[5]" LOC = P135 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
39 |
NET "DIPSW[6]" LOC = P134 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
40 |
NET "DIPSW[7]" LOC = P132 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
41 |
|
|
|
42 |
# Push Buttons (positive signals with pull-down) |
|
|
43 |
NET "PB[0]" LOC = P121 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
44 |
NET "PB[1]" LOC = P120 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
45 |
NET "PB[2]" LOC = P117 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
46 |
NET "PB[3]" LOC = P116 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
47 |
|
|
|
48 |
# LED String (positive output signals) |
|
|
49 |
NET "LED[0]" LOC = P64 |IOSTANDARD = LVCMOS33; |
|
|
50 |
NET "LED[1]" LOC = P63 |IOSTANDARD = LVCMOS33; |
|
|
51 |
NET "LED[2]" LOC = P51 |IOSTANDARD = LVCMOS33; |
|
|
52 |
NET "LED[3]" LOC = P50 |IOSTANDARD = LVCMOS33; |
|
|
53 |
NET "LED[4]" LOC = P49 |IOSTANDARD = LVCMOS33; |
|
|
54 |
NET "LED[5]" LOC = P48 |IOSTANDARD = LVCMOS33; |
|
|
55 |
NET "LED[6]" LOC = P47 |IOSTANDARD = LVCMOS33; |
|
|
56 |
NET "LED[7]" LOC = P46 |IOSTANDARD = LVCMOS33; |
|
|
57 |
|
|
|
58 |
# LED Display Output Signals (negative, multiplexed) |
|
|
59 |
NET "LD_A_n" LOC = P15 |IOSTANDARD = LVCMOS33; |
|
|
60 |
NET "LD_B_n" LOC = P30 |IOSTANDARD = LVCMOS33; |
|
|
61 |
NET "LD_C_n" LOC = P21 |IOSTANDARD = LVCMOS33; |
|
|
62 |
NET "LD_D_n" LOC = P19 |IOSTANDARD = LVCMOS33; |
|
|
63 |
NET "LD_E_n" LOC = P18 |IOSTANDARD = LVCMOS33; |
|
|
64 |
NET "LD_F_n" LOC = P16 |IOSTANDARD = LVCMOS33; |
|
|
65 |
NET "LD_G_n" LOC = P24 |IOSTANDARD = LVCMOS33; |
|
|
66 |
NET "LD_DP_n" LOC = P20 |IOSTANDARD = LVCMOS33; |
|
|
67 |
|
|
|
68 |
NET "LD_0_n" LOC = P25 |IOSTANDARD = LVCMOS33; |
|
|
69 |
NET "LD_1_n" LOC = P31 |IOSTANDARD = LVCMOS33; |
|
|
70 |
NET "LD_2_n" LOC = P32 |IOSTANDARD = LVCMOS33; |
|
|
71 |
NET "LD_3_n" LOC = P13 |IOSTANDARD = LVCMOS33; # !!! Connect U1.13 with U1.33 |
|
|
72 |
NET "LD_4_n" LOC = P27 |IOSTANDARD = LVCMOS33; |
|
|
73 |
NET "LD_5_n" LOC = P29 |IOSTANDARD = LVCMOS33; |
|
|
74 |
NET "LD_6_n" LOC = P28 |IOSTANDARD = LVCMOS33; |
|
|
75 |
NET "LD_7_n" LOC = P12 |IOSTANDARD = LVCMOS33; # !!! Connect U1.12 with U1.35 |
|
|
76 |
# VGA Analog Display Connection (outputs) |
|
|
77 |
NET "VGA_R[0]" LOC = P3 |IOSTANDARD = LVCMOS33; |
|
|
78 |
NET "VGA_R[1]" LOC = P4 |IOSTANDARD = LVCMOS33; |
|
|
79 |
NET "VGA_G[0]" LOC = P5 |IOSTANDARD = LVCMOS33; |
|
|
80 |
NET "VGA_G[1]" LOC = P6 |IOSTANDARD = LVCMOS33; |
|
|
81 |
NET "VGA_B[0]" LOC = P7 |IOSTANDARD = LVCMOS33; |
|
|
82 |
NET "VGA_B[1]" LOC = P8 |IOSTANDARD = LVCMOS33; |
|
|
83 |
NET "VGA_VS" LOC = P10 |IOSTANDARD = LVCMOS33; |
|
|
84 |
NET "VGA_HS" LOC = P11 |IOSTANDARD = LVCMOS33; |
|
|
85 |
|
|
|
86 |
# Bank 1 Port (input for tests, pull-up) |
|
|
87 |
NET "B[0]" LOC = P75 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
88 |
NET "B[1]" LOC = P76 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
89 |
NET "B[2]" LOC = P77 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
90 |
NET "B[3]" LOC = P78 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
91 |
NET "B[4]" LOC = P82 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
92 |
NET "B[5]" LOC = P83 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
93 |
NET "B[6]" LOC = P84 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
94 |
NET "B[7]" LOC = P85 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
95 |
NET "B[8]" LOC = P87 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
96 |
NET "B[9]" LOC = P88 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
97 |
NET "B[10]" LOC = P90 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
98 |
NET "B[11]" LOC = P91 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
99 |
NET "B[12]" LOC = P92 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
100 |
NET "B[13]" LOC = P93 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
101 |
NET "B[14]" LOC = P96 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
102 |
NET "B[15]" LOC = P98 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
103 |
NET "B[16]" LOC = P99 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
104 |
NET "B[17]" LOC = P101 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
105 |
NET "B[18]" LOC = P102 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
106 |
NET "B[19]" LOC = P103 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
107 |
NET "B[20]" LOC = P104 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
108 |
NET "B[21]" LOC = P105 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
109 |
NET "B[22]" LOC = P79 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
110 |
NET "B[23]" LOC = P80 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
111 |
NET "B[24]" LOC = P97 |IOSTANDARD = LVCMOS33 |PULLUP = YES; # Connected with B[23] on PCB |
|
|
112 |
# PS/2 Bidirectional Port (open collector, J31 and J32) |
|
|
113 |
#NET "PS2_CLK1" LOC = P | IOSTANDARD = LVCMOS33 | PULLUP = YES; # S3AN01A PCB Design has bug so these pins |
|
|
114 |
#NET "PS2_DATA1" LOC = P | IOSTANDARD = LVCMOS33 | PULLUP = YES; # will be assinged after PCB redesign |
|
|
115 |
NET "PS2_CLK2" LOC = P42 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
116 |
NET "PS2_DATA2" LOC = P58 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
117 |
|
|
|
118 |
# Diferencial Signals on 4 pin header (J7) |
|
|
119 |
NET "DIF1P" LOC = P110 |IOSTANDARD = LVCMOS33 ; |
|
|
120 |
NET "DIF1N" LOC = P111 |IOSTANDARD = LVCMOS33 ; |
|
|
121 |
NET "DIF2P" LOC = P112 |IOSTANDARD = LVCMOS33 ; |
|
|
122 |
NET "DIF2N" LOC = P113 |IOSTANDARD = LVCMOS33 ; |
|
|
123 |
|
|
|
124 |
# I2C Signals (on connector J30) |
|
|
125 |
NET "I2C_SCL" LOC = P115 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
126 |
NET "I2C_SDA" LOC = P114 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
127 |
|
|
|
128 |
# Diferencial Signals on SATA like connectors (not SATA capable, J28 and J29) |
|
|
129 |
NET "SD1AP" LOC = P54 |IOSTANDARD = LVPECL_33; |
|
|
130 |
NET "SD1AN" LOC = P55 |IOSTANDARD = LVPECL_33; |
|
|
131 |
NET "SD1BP" LOC = P59 |IOSTANDARD = LVCMOS33 ; |
|
|
132 |
NET "SD1BN" LOC = P57 |IOSTANDARD = LVCMOS33 ; |
3176 |
kakl |
133 |
NET "SD2AP" LOC = P124 |IOSTANDARD = LVDS_33 ; |
|
|
134 |
NET "SD2AN" LOC = P126 |IOSTANDARD = LVDS_33 ; |
3165 |
kakl |
135 |
NET "SD2BP" LOC = P131 |IOSTANDARD = LVCMOS33 ; |
|
|
136 |
NET "SD2BN" LOC = P129 |IOSTANDARD = LVCMOS33 ; |
|
|
137 |
|
|
|
138 |
# SPI Memory Interface |
|
|
139 |
NET "SPI_CS_n" LOC = P41 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
140 |
NET "SPI_DO" LOC = P71 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
141 |
NET "SPI_DI" LOC = P62 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
142 |
NET "SPI_CLK" LOC = P72 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
143 |
NET "SPI_WP_n" LOC = P70 |IOSTANDARD = LVCMOS33 |PULLUP = YES; |
|
|
144 |
|
|
|
145 |
# Analog In Out |
|
|
146 |
NET "ANA_OUTD" LOC = P67 |IOSTANDARD = LVCMOS33; |
|
|
147 |
NET "ANA_REFD" LOC = P68 |IOSTANDARD = LVCMOS33; |
|
|
148 |
NET "ANA_IND" LOC = P69 |IOSTANDARD = LVCMOS33 |PULLDOWN = YES; |
|
|
149 |
|
|
|
150 |
/* |
|
|
151 |
# Used Signals (test points) |
|
|
152 |
NET "TPS1" LOC = P53 | IOSTANDARD = LVCMOS33 | PULLDOWN = YES; |
|
|
153 |
NET "TPS2" LOC = P125 | IOSTANDARD = LVCMOS33 | PULLDOWN = YES; |
|
|
154 |
NET "TPS3" LOC = P127 | IOSTANDARD = LVCMOS33 | PULLDOWN = YES; |
|
|
155 |
NET "TPS4" LOC = P130 | IOSTANDARD = LVCMOS33 | PULLDOWN = YES; |
|
|
156 |
NET "TPS5" LOC = P141 | IOSTANDARD = LVCMOS33 | PULLDOWN = YES; |
|
|
157 |
NET "TPS6" LOC = P123 | IOSTANDARD = LVCMOS33 | PULLDOWN = YES; |
|
|
158 |
NET "XXX1" LOC = P33 | IOSTANDARD = LVCMOS33 | PULLDOWN = YES; # input only |
|
|
159 |
NET "XXX2" LOC = P35 | IOSTANDARD = LVCMOS33 | PULLDOWN = YES; # input only |
|
|
160 |
*/ |