1 |
34 |
rrred |
# Generated by www.ivysim.com 21 April 2008 4.37PM
|
2 |
|
|
#####################################################
|
3 |
|
|
### SPARTAN-3E STARTER KIT BOARD CONSTRAINTS FILE
|
4 |
|
|
#####################################################
|
5 |
|
|
|
6 |
|
|
# ==== Pushbuttons (BTN) ====
|
7 |
|
|
NET "KEY<0>" LOC = "H13" | IOSTANDARD = LVTTL | PULLDOWN ;
|
8 |
|
|
NET "KEY<1>" LOC = "V4" | IOSTANDARD = LVTTL | PULLDOWN ;
|
9 |
|
|
NET "KEY<2>" LOC = "K17" | IOSTANDARD = LVTTL | PULLDOWN ;
|
10 |
|
|
NET "KEY<3>" LOC = "D18" | IOSTANDARD = LVTTL | PULLDOWN ;
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
# ==== Slide Switches (SW) ====
|
14 |
|
|
NET "SW<0>" LOC = "L13" | IOSTANDARD = LVTTL | PULLUP ;
|
15 |
|
|
NET "SW<1>" LOC = "L14" | IOSTANDARD = LVTTL | PULLUP ;
|
16 |
|
|
NET "SW<2>" LOC = "H18" | IOSTANDARD = LVTTL | PULLUP ;
|
17 |
|
|
NET "SW<3>" LOC = "N17" | IOSTANDARD = LVTTL | PULLUP ;
|
18 |
|
|
|
19 |
|
|
# ==== Clock inputs (CLK) ====
|
20 |
|
|
NET "CLOCK_50" LOC = "C9" | IOSTANDARD = LVCMOS33 ;
|
21 |
|
|
# Define clock period for 50 MHz oscillator (40%/60% duty-cycle)
|
22 |
|
|
NET "CLOCK_50" PERIOD = 20.0ns HIGH 40%;
|
23 |
|
|
|
24 |
|
|
# ==== Discrete LEDs (LED) ====
|
25 |
|
|
# These are shared connections with the FX2 connector
|
26 |
|
|
NET "LEDG<0>" LOC = "F12" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
|
27 |
|
|
NET "LEDG<1>" LOC = "E12" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
|
28 |
|
|
NET "LEDG<2>" LOC = "E11" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
|
29 |
|
|
NET "LEDG<3>" LOC = "F11" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
|
30 |
|
|
NET "LEDG<4>" LOC = "C11" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
|
31 |
|
|
NET "LEDG<5>" LOC = "D11" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
|
32 |
|
|
NET "LEDG<6>" LOC = "E9" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
|
33 |
|
|
NET "LEDG<7>" LOC = "F9" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8 ;
|
34 |
|
|
|
35 |
|
|
# ==== PS/2 Mouse/Keyboard Port (PS2) ====
|
36 |
|
|
NET "PS2_CLK" LOC = "G14" | IOSTANDARD = LVCMOS33 | DRIVE = 8 | SLEW = SLOW ;
|
37 |
|
|
NET "PS2_DAT" LOC = "G13" | IOSTANDARD = LVCMOS33 | DRIVE = 8 | SLEW = SLOW ;
|
38 |
|
|
|
39 |
|
|
# ==== Rotary Pushbutton Switch (ROT) ====
|
40 |
|
|
NET "ROT_A" LOC = "K18" | IOSTANDARD = LVTTL | PULLUP ;
|
41 |
|
|
NET "ROT_B" LOC = "G18" | IOSTANDARD = LVTTL | PULLUP ;
|
42 |
|
|
NET "ROT_CENTER" LOC = "V16" | IOSTANDARD = LVTTL | PULLDOWN ;
|
43 |
|
|
|
44 |
|
|
# ==== RS-232 Serial Ports (RS232) ====
|
45 |
|
|
NET "rs232_dce_rxd" LOC = "R7" | IOSTANDARD = LVTTL ;
|
46 |
|
|
NET "rs232_dce_txd" LOC = "M14" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = SLOW ;
|
47 |
|
|
NET "UART_RXD" LOC = "U8" | IOSTANDARD = LVTTL ;
|
48 |
|
|
NET "UART_TXD" LOC = "M13" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = SLOW ;
|
49 |
|
|
|
50 |
|
|
#NET "DRAM_CK_FB" LOC = "B9" | IOSTANDARD = LVCMOS33 ;
|
51 |
|
|
# Prohibit VREF pins
|
52 |
|
|
CONFIG PROHIBIT = D2;
|
53 |
|
|
CONFIG PROHIBIT = G4;
|
54 |
|
|
CONFIG PROHIBIT = J6;
|
55 |
|
|
CONFIG PROHIBIT = L5;
|
56 |
|
|
CONFIG PROHIBIT = R4;
|
57 |
|
|
|
58 |
|
|
# ==== VGA Port (VGA) ====
|
59 |
|
|
NET "VGA_B" LOC = "G15" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
|
60 |
|
|
NET "VGA_G" LOC = "H15" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
|
61 |
|
|
NET "VGA_HS" LOC = "F15" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
|
62 |
|
|
NET "VGA_R" LOC = "H14" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
|
63 |
|
|
NET "VGA_VS" LOC = "F14" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
|
64 |
|
|
|
65 |
|
|
# ==== Character LCD (LCD) ====
|
66 |
|
|
NET "SF_CE0" LOC = "D16" | IOSTANDARD = LVCMOS33 | DRIVE = 4 | SLEW = SLOW ;
|
67 |
|
|
NET "LCD_E" LOC = "M18" | IOSTANDARD = LVCMOS33 | DRIVE = 4 | SLEW = SLOW ;
|
68 |
|
|
NET "LCD_RS" LOC = "L18" | IOSTANDARD = LVCMOS33 | DRIVE = 4 | SLEW = SLOW ;
|
69 |
|
|
NET "LCD_RW" LOC = "L17" | IOSTANDARD = LVCMOS33 | DRIVE = 4 | SLEW = SLOW ;
|
70 |
|
|
# The LCD four-bit data interface is shared with the StrataFlash.
|
71 |
|
|
NET "SF_D<0>" LOC = "R15" | IOSTANDARD = LVCMOS33 | DRIVE = 4 | SLEW = SLOW ;
|
72 |
|
|
NET "SF_D<1>" LOC = "R16" | IOSTANDARD = LVCMOS33 | DRIVE = 4 | SLEW = SLOW ;
|
73 |
|
|
NET "SF_D<2>" LOC = "P17" | IOSTANDARD = LVCMOS33 | DRIVE = 4 | SLEW = SLOW ;
|
74 |
|
|
NET "SF_D<3>" LOC = "M15" | IOSTANDARD = LVCMOS33 | DRIVE = 4 | SLEW = SLOW ;
|
75 |
|
|
|