-
Notifications
You must be signed in to change notification settings - Fork 0
/
offset_check.ucf
70 lines (60 loc) · 1.97 KB
/
offset_check.ucf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
######### GENERAL PINS #########
# Clock
NET "input_clk" LOC = AH15;
# Reset#
NET "reset" LOC = E9;
# Sound
NET "ac97_bitclk" LOC="AF18" | TNM_NET = ac97_bitclk;
NET "ac97_sdata_in" LOC="AE18";
NET "ac97_sdata_out" LOC="AG16";
NET "ac97_sync" LOC="AF19";
NET "ac97_reset_b" LOC="AG17";
TIMESPEC TS_ac97_bitclk = PERIOD "ac97_bitclk" 12.288MHz HIGH 50%;
NET "play_sound" LOC="AN32" | DRIVE = 8;
NET "sound_code[0]" LOC="AP32" | DRIVE = 8;
NET "sound_code[1]" LOC="AC33" | DRIVE = 8;
NET "sound_code[2]" LOC="AB33" | DRIVE = 8;
########## DIP Switches #######
NET "dip[0]" LOC = AC24;
NET "dip[1]" LOC = AC25;
NET "dip[2]" LOC = AE26;
NET "dip[3]" LOC = AE27;
NET "dip[4]" LOC = AF26;
NET "dip[5]" LOC = AF25;
NET "dip[6]" LOC = AG27;
NET "dip[7]" LOC = U25;
############ END GENERAL PINS ########
############ VGA ##############
NET "VS" LOC = Y34 | DRIVE = 8; # Yellow
NET "HS" LOC = W32 | DRIVE = 8; # Black
NET "rgb_r[0]" LOC = AN33 | DRIVE = 8;
NET "rgb_r[1]" LOC = AN34 | DRIVE = 8;
NET "rgb_r[2]" LOC = AM32 | DRIVE = 8;
NET "rgb_r[3]" LOC = AJ34 | DRIVE = 8;
NET "rgb_g[0]" LOC = AL33 | DRIVE = 8;
NET "rgb_g[1]" LOC = AL34 | DRIVE = 8;
NET "rgb_g[2]" LOC = AK32 | DRIVE = 8;
NET "rgb_g[3]" LOC = AJ32 | DRIVE = 8;
NET "rgb_b[0]" LOC = AK34 | DRIVE = 8;
NET "rgb_b[1]" LOC = AH32 | DRIVE = 8;
NET "rgb_b[2]" LOC = AG32 | DRIVE = 8;
NET "rgb_b[3]" LOC = AE32 | DRIVE = 8;
############ END VGA ############
########## CONTROLS ###########
# Joystick
NET "up" LOC = G32;
NET "down" LOC = G33;
NET "left" LOC = H34;
NET "right" LOC = F34;
# Main buttons
NET "fire" LOC = M32;
NET "special" LOC = L33;
NET "coin" LOC = J32;
NET "p1_start" LOC = J34;
NET "p2_start" LOC = H32;
######### END CONTROLS ###########
#Created by Constraints Editor (xc5vlx110t-ff1136-2) - 2012/11/06
NET "input_clk" TNM_NET = clk_ref_grp;
TIMESPEC TS_input_clk = PERIOD clk_ref_grp : 10 ns : PRIORITY 1;
TIMESPEC TS11 = FROM:PADS:TO:FFS : 30 ns;
TIMESPEC TS12 = FROM:FFS:TO:PADS : 30 ns;