MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide
161
UG257 (v1.1) December 5, 2007
www.xilinx.com
R
Appendix B
Example User Constraints File (UCF)
################################################################
###
S
PARTAN-3
E
M
i
c
r
oBlaze Development KIT BOARD CON
S
TRAINT
S
FIL
E
################################################################
#
==== FPGA Conf
i
gu
r
at
i
on Mode, INIT_B P
i
n
s
(FPGA) ====
N
E
T "FPGA_M0" LOC = "M10" | IO
S
TANDARD = L
V
CMO
S
33 |
S
L
E
W =
S
LOW | DRI
VE
= 8 ;
N
E
T "FPGA_M1" LOC = "
V
11" | IO
S
TANDARD = L
V
CMO
S
33 |
S
L
E
W =
S
LOW | DRI
VE
= 8 ;
N
E
T "FPGA_M2" LOC = "T10" | IO
S
TANDARD = L
V
CMO
S
33 |
S
L
E
W =
S
LOW | DRI
VE
= 8 ;
N
E
T "FPGA_INIT_B" LOC = "T3" | IO
S
TANDARD = L
V
CMO
S
33 |
S
L
E
W =
S
LOW | DRI
VE
= 4 ;
N
E
T "FPGA_RDWR_B" LOC = "U10" | IO
S
TANDARD = L
V
CMO
S
33 |
S
L
E
W =
S
LOW | DRI
VE
= 4 ;
N
E
T "FPGA_H
S
WAP" LOC = "B3" | IO
S
TANDARD = L
V
CMO
S
33 ;
#
#
==== Clock
i
nput
s
(CLK) ====
N
E
T "CLK_50MHZ" LOC = "C9" | IO
S
TANDARD = L
V
CMO
S
33 ;
#
GCLK10
#
Def
i
ne clock pe
ri
od fo
r
50 MHz o
s
c
i
llato
r
(40
%
/
6
0
%
duty-cycle)
N
E
T "CLK_50MHZ" P
E
RIOD = 20.0n
s
HIGH 40
%
;
#
N
E
T "CLK_AU
X
_
66
MHZ" LOC = "B8" | IO
S
TANDARD = L
V
CMO
S
33 ;
#
GCLK8 Populated w
i
th
66
MHz O
s
c
#
Def
i
ne clock pe
ri
od fo
r
66
MHz o
s
c
i
llato
r
(50
%
/50
%
duty-cycle)
N
E
T "CLK_AU
X
_
66
MHZ" P
E
RIOD = 14.9n
s
HIGH 50
%
;
#
N
E
T "CLK_
S
MA" LOC = "A10" | IO
S
TANDARD = L
V
CMO
S
33 ;
#
#
==== R
S
-232
S
e
ri
al Po
r
t
s
(R
S
232) ====
N
E
T "R
S
232_DC
E
_R
X
D" LOC = "R7" | IO
S
TANDARD = L
V
TTL ;
N
E
T "R
S
232_DC
E
_T
X
D" LOC = "M14" | IO
S
TANDARD = L
V
TTL | DRI
VE
= 8 |
S
L
E
W =
S
LOW ;
N
E
T "R
S
232_DT
E
_R
X
D" LOC = "U8" | IO
S
TANDARD = L
V
TTL ;
N
E
T "R
S
232_DT
E
_T
X
D" LOC = "M13" | IO
S
TANDARD = L
V
TTL | DRI
VE
= 8 |
S
L
E
W =
S
LOW ;
#
#
==== Rota
r
y Pu
s
h
b
utton
S
w
i
tch (ROT) ====
N
E
T "ROT_A" LOC = "K18" | IO
S
TANDARD = L
V
TTL | PULLUP ;
N
E
T "ROT_B" LOC = "G18" | IO
S
TANDARD = L
V
TTL | PULLUP ;
N
E
T "ROT_C
E
NT
E
R" LOC = "
V
1
6
" | IO
S
TANDARD = L
V
TTL | PULLDOWN ;
#
#
==== Pu
s
h
b
utton
s
(BTN) ====
N
E
T "BTN_
E
A
S
T" LOC = "H13" | IO
S
TANDARD = L
V
TTL | PULLDOWN ;
N
E
T "BTN_NORTH" LOC = "
V
4" | IO
S
TANDARD = L
V
TTL | PULLDOWN ;
N
E
T "BTN_
S
OUTH" LOC = "K17" | IO
S
TANDARD = L
V
TTL | PULLDOWN ;
N
E
T "BTN_W
ES
T" LOC = "D18" | IO
S
TANDARD = L
V
TTL | PULLDOWN ;
#
#
====
S
l
i
de
S
w
i
tche
s
(
S
W) ====
N
E
T "
S
W<0>" LOC = "L13" | IO
S
TANDARD = L
V
TTL | PULLUP ;
N
E
T "
S
W<1>" LOC = "L14" | IO
S
TANDARD = L
V
TTL | PULLUP ;
N
E
T "
S
W<2>" LOC = "H18" | IO
S
TANDARD = L
V
TTL | PULLUP ;
N
E
T "
S
W<3>" LOC = "N17" | IO
S
TANDARD = L
V
TTL | PULLUP ;
#
#
==== D
is
c
r
ete L
E
D
s
(L
E
D) ====