# UCF for V7 456FG

#####################################################
# Clock Period Constraints
#####################################################

NET "SYS_CLK" PERIOD = 10.00;


#####################################################
# I/O Signals
#####################################################

NET "SYS_CLK"     	LOC = v12;
NET "system_reset"     	LOC = v15;
NET  system_reset PULLUP;

NET  leds<0>     LOC = V8;
NET  leds<1>     LOC = w6;
NET  leds<2>     LOC = u10;
NET  leds<3>     LOC = v10;

NET  rx  LOC = U9;
NET  tx  LOC = W7;
NET  rts  LOC = Y7;

#DIP Switches
NET  sw<11> LOC = N21;	#Flash RDYn
NET  sw<10> LOC = V7;	#PUSH1
NET  sw<9>  LOC = W5;	#PUSH2
NET  sw<8>  LOC = AA12;	#PUSH3
NET  sw<7>  LOC = W13;	#DIP8
NET  sw<6>  LOC = Y13;	#DIP7
NET  sw<5>  LOC = W14;	#DIP6
NET  sw<4>  LOC = W15;	#DIP5
NET  sw<3>  LOC = Y15;	#DIP4
NET  sw<2>  LOC = W16;	#DIP3
NET  sw<1>  LOC = Y16;	#DIP2
NET  sw<0>  LOC = V16;	#DIP1

NET  sw<11>  PULLUP;
NET  sw<10>  PULLUP;
NET  sw<9>  PULLUP;
NET  sw<8>  PULLUP;
NET  sw<7>  PULLUP;
NET  sw<6>  PULLUP;
NET  sw<5>  PULLUP;
NET  sw<4>  PULLUP;
NET  sw<3>  PULLUP;
NET  sw<2>  PULLUP;
NET  sw<1>  PULLUP;
NET  sw<0>  PULLUP;

NET dq<31> LOC = g2;
NET dq<30> LOC = h2;
NET dq<29> LOC = g1;
NET dq<28> LOC = j2;
NET dq<27> LOC = h1;
NET dq<26> LOC = k2;
NET dq<25> LOC = j1;
NET dq<24> LOC = k1;
NET dq<23> LOC = f5;
NET dq<22> LOC = f1;
NET dq<21> LOC = g5;
NET dq<20> LOC = f2;
NET dq<19> LOC = d2;
NET dq<18> LOC = e1;
NET dq<17> LOC = d1;
NET dq<16> LOC = e2;
NET dq<15> LOC = u1;
NET dq<14> LOC = v1;
NET dq<13> LOC = u2;
NET dq<12> LOC = w1;
NET dq<11> LOC = v2;
NET dq<10> LOC = y1;
NET dq<9> LOC = w2;
NET dq<8> LOC = y2;
NET dq<7> LOC = n1;
NET dq<6> LOC = t2;
NET dq<5> LOC = n2;
NET dq<4> LOC = t1;
NET dq<3> LOC = p1;
NET dq<2> LOC = r2;
NET dq<1> LOC = p2;
NET dq<0> LOC = r1;

NET a<11> LOC = m4;
NET a<10> LOC = p4;
NET a<9> LOC = n4;
NET a<8> LOC = m3;
NET a<7> LOC = j4;
NET a<6> LOC = h3;
NET a<5> LOC = l3;
NET a<4> LOC = g3;
NET a<3> LOC = h4;
NET a<2> LOC = k4;
NET a<1> LOC = n3;
NET a<0> LOC = f3;

NET dqm<3> LOC = T3;
NET dqm<2> LOC = F4;
NET dqm<1> LOC = U4;
NET dqm<0> LOC = U3;

NET sdram_wen LOC = R3;
NET sdram_cke LOC = j3;
NET sdram_csn LOC = p3;
NET sdram_casn LOC = k3;
NET sdram_rasn LOC = t4;
NET sdram_clk LOC = E3;

NET ba<1> LOC = l4;
NET ba<0> LOC = r4;
