1 |
2 |
dimo |
#NET "led(0)" LOC = "A6" | IOSTANDARD = LVCMOS33; #led(0)
|
2 |
|
|
#NET "led(1)" LOC = "D7" | IOSTANDARD = LVCMOS33; #led(1)
|
3 |
|
|
#NET "led(2)" LOC = "F23" | IOSTANDARD = LVCMOS33; #led(2)
|
4 |
|
|
#NET "led(3)" LOC = "F24" | IOSTANDARD = LVCMOS33; #led(3)
|
5 |
|
|
#NET "j_up" LOC = "AD4" | IOSTANDARD = LVCMOS33 | IOBDELAY=NONE; #joystick up low active
|
6 |
|
|
#NET "j_down" LOC = "AD6" | IOSTANDARD = LVCMOS33 | IOBDELAY=NONE; #joystick down low active
|
7 |
|
|
NET "j_left" LOC = "AE4" | IOSTANDARD = LVCMOS33 | IOBDELAY=NONE; #joystick left low active
|
8 |
|
|
NET "j_right" LOC = "AC6" | IOSTANDARD = LVCMOS33 | IOBDELAY=NONE; #joystick right low active
|
9 |
|
|
NET "rst" LOC = "AA7" | IOSTANDARD = LVCMOS33 | IOBDELAY=NONE; #joystick push low active
|
10 |
|
|
|
11 |
|
|
#NET "turn_on" LOC = "AA20" | IOSTANDARD = LVCMOS25; #dip_sw(0) #dip switch low active
|
12 |
|
|
#NET "clk" LOC = "B13" | IOSTANDARD = LVCMOS33; #clk
|
13 |
|
|
|
14 |
|
|
#NET "out_vector(0)" LOC = "A6" | IOSTANDARD = LVCMOS33; #led(0)
|
15 |
|
|
NET "led(0)" LOC = "D7" | IOSTANDARD = LVCMOS33; #led(1)
|
16 |
|
|
NET "led(1)" LOC = "F23" | IOSTANDARD = LVCMOS33; #led(2)
|
17 |
|
|
NET "led(2)" LOC = "F24" | IOSTANDARD = LVCMOS33; #led(3)
|
18 |
|
|
#NET "out_vector(4)" LOC = "G21" | IOSTANDARD = LVCMOS33; #led(4)
|
19 |
|
|
#NET "out_vector(5)" LOC = "G23" | IOSTANDARD = LVCMOS33; #led(5)
|
20 |
|
|
#NET "out_vector(6)" LOC = "H23" | IOSTANDARD = LVCMOS33; #led(6)
|
21 |
|
|
#NET "out_vector(7)" LOC = "J21" | IOSTANDARD = LVCMOS33; #led(7)
|
22 |
|
|
|
23 |
|
|
#NET "in_vector(0)" LOC = "AA20" | IOSTANDARD = LVCMOS25; #dip_sw(0) dip switches are low-active
|
24 |
|
|
#NET "in_vector(1)" LOC = "AD15" | IOSTANDARD = LVCMOS25; #dip_sw(1)
|
25 |
|
|
#NET "in_vector(2)" LOC = "AD19" | IOSTANDARD = LVCMOS25; #dip_sw(2)
|
26 |
|
|
#NET "in_vector(3)" LOC = "AD23" | IOSTANDARD = LVCMOS25; #dip_sw(3)
|
27 |
|
|
#NET "in_vector(4)" LOC = "AF21" | IOSTANDARD = LVCMOS25; #dip_sw(4)
|
28 |
|
|
#NET "in_vector(5)" LOC = "AF22" | IOSTANDARD = LVCMOS25; #dip_sw(5)
|
29 |
|
|
#NET "in_vector(6)" LOC = "W15" | IOSTANDARD = LVCMOS25; #dip_sw(6)
|
30 |
|
|
#NET "in_vector(7)" LOC = "W16" | IOSTANDARD = LVCMOS25; #dip_sw(7)
|
31 |
|
|
|
32 |
|
|
#NET "enable" LOC = "AD6" | IOSTANDARD = LVCMOS33 | IOBDELAY=NONE; #joystick down low-active
|
33 |
|
|
NET "clk" LOC = "B13" | IOSTANDARD = LVCMOS33; #clk
|
34 |
|
|
|