1 |
3 |
martin |
# This file is a general .ucf for Nexys2 rev A board
|
2 |
|
|
# To use it in a project:
|
3 |
|
|
# - remove or comment the lines corresponding to unused pins
|
4 |
|
|
# - rename the used signals according to the project
|
5 |
|
|
|
6 |
|
|
# Signals Led<7>…Led<4> are assigned to pins which change type from s3e500 to other dies using the same package
|
7 |
|
|
# Both versions are provided in this file.
|
8 |
|
|
# Keep only the appropriate one, and remove or comment the other one.
|
9 |
|
|
|
10 |
|
|
# Digilent nexys2 board
|
11 |
|
|
#
|
12 |
|
|
#
|
13 |
|
|
# Time specifications for 50MHz clock
|
14 |
|
|
#
|
15 |
|
|
NET "clk" TNM_NET = "clk";
|
16 |
|
|
TIMESPEC "TS_clk" = PERIOD "clk" 20 ns HIGH 50 %;
|
17 |
|
|
|
18 |
|
|
# clock pin for Nexys 2 Board
|
19 |
|
|
NET "clk" LOC = "B8"; # Bank = 0, Pin name = IP_L13P_0/GCLK8, Type = GCLK, Sch name = GCLK0
|
20 |
|
|
# Leds
|
21 |
|
|
NET "Led<0>" LOC = "J14"; # Bank = 1, Pin name = IO_L14N_1/A3/RHCLK7, Type = RHCLK/DUAL, Sch name = JD10/LD0
|
22 |
|
|
NET "Led<1>" LOC = "J15"; # Bank = 1, Pin name = IO_L14P_1/A4/RHCLK6, Type = RHCLK/DUAL, Sch name = JD9/LD1
|
23 |
|
|
NET "Led<2>" LOC = "K15"; # Bank = 1, Pin name = IO_L12P_1/A8/RHCLK2, Type = RHCLK/DUAL, Sch name = JD8/LD2
|
24 |
|
|
NET "Led<3>" LOC = "K14"; # Bank = 1, Pin name = IO_L12N_1/A7/RHCLK3/TRDY1, Type = RHCLK/DUAL, Sch name = JD7/LD3
|
25 |
|
|
NET "Led<4>" LOC = "E17"; # Bank = 1, Pin name = IO, Type = I/O, Sch name = LD4? s3e500 only
|
26 |
|
|
NET "Led<5>" LOC = "P15"; # Bank = 1, Pin name = IO, Type = I/O, Sch name = LD5? s3e500 only
|
27 |
|
|
NET "Led<6>" LOC = "F4"; # Bank = 3, Pin name = IO, Type = I/O, Sch name = LD6? s3e500 only
|
28 |
|
|
NET "Led<7>" LOC = "R4"; # Bank = 3, Pin name = IO/VREF_3, Type = VREF, Sch name = LD7? s3e500 only
|
29 |
|
|
|
30 |
|
|
# Buttons
|
31 |
|
|
#NET "btn<0>" LOC = "B18"; # Bank = 1, Pin name = IP, Type = INPUT, Sch name = BTN0
|
32 |
|
|
#NET "btn<1>" LOC = "D18"; # Bank = 1, Pin name = IP/VREF_1, Type = VREF, Sch name = BTN1
|
33 |
|
|
#NET "btn<2>" LOC = "E18"; # Bank = 1, Pin name = IP, Type = INPUT, Sch name = BTN2
|
34 |
|
|
#NET "btn<3>" LOC = "H13"; # Bank = 1, Pin name = IP, Type = INPUT, Sch name = BTN3
|
35 |
|
|
|
36 |
|
|
# RS232 connector
|
37 |
|
|
#NET "RsRx" LOC = "U6"; # Bank = 2, Pin name = IP, Type = INPUT, Sch name = RS-RX
|
38 |
|
|
NET "RsTx" LOC = "P9"; # Bank = 2, Pin name = IO, Type = I/O, Sch name = RS-TX
|