fix sprite offset when not flipped (now it's broken when the screen is flipped)
[fpga-games] / galaxian / galaxian.ucf
CommitLineData
782690d0
MG
1### UCF file for FPGA-MOONCRST on XC2S200E
2#
3#---------- MasterClock 18.432MHz ----------
4NET "I_CLK_125M" LOC = "F13" | IOSTANDARD = LVCMOS33;
5#-------------------------------------------
6#---------- SW I/F -------------------------
3fc34adf
MG
7NET "I_PSW<0>" LOC = "K19" | IOSTANDARD = LVTTL | PULLUP; #up
8NET "I_PSW<1>" LOC = "K18" | IOSTANDARD = LVTTL | PULLUP; #down
9NET "I_PSW<2>" LOC = "G22" | IOSTANDARD = LVTTL | PULLUP; #left
10NET "I_PSW<3>" LOC = "F22" | IOSTANDARD = LVTTL | PULLUP; #right
11NET "I_PSW<4>" LOC = "F23" | IOSTANDARD = LVTTL | PULLUP; #btn
12NET "I_PSW<5>" LOC = "J10" | IOSTANDARD = LVTTL | PULLDOWN; #s8 - s1
13NET "I_PSW<6>" LOC = "J13" | IOSTANDARD = LVTTL | PULLDOWN; #s7 - c1
14NET "I_PSW<7>" LOC = "J15" | IOSTANDARD = LVTTL | PULLDOWN; #s6 - s2
15NET "I_PSW<8>" LOC = "J17" | IOSTANDARD = LVTTL | PULLDOWN; #s5 - c2
782690d0
MG
16#-------------------------------------------
17#--------- EEPROM I/F ----------------------
18#NET "I_ROM_DB<0>" LOC = "P70";
19#NET "I_ROM_DB<1>" LOC = "P68";
20#NET "I_ROM_DB<2>" LOC = "P63";
21#NET "I_ROM_DB<3>" LOC = "P58";
22#NET "I_ROM_DB<4>" LOC = "P60";
23#NET "I_ROM_DB<5>" LOC = "P62";
24#NET "I_ROM_DB<6>" LOC = "P57";
25#NET "I_ROM_DB<7>" LOC = "P59";
26#NET "O_ROM_AB<0>" LOC = "P71";
27#NET "O_ROM_AB<1>" LOC = "P74";
28#NET "O_ROM_AB<2>" LOC = "P73";
29#NET "O_ROM_AB<3>" LOC = "P75";
30#NET "O_ROM_AB<4>" LOC = "P81";
31#NET "O_ROM_AB<5>" LOC = "P82";
32#NET "O_ROM_AB<6>" LOC = "P84";
33#NET "O_ROM_AB<7>" LOC = "P86";
34#NET "O_ROM_AB<8>" LOC = "P89";
35#NET "O_ROM_AB<9>" LOC = "P87";
36#NET "O_ROM_AB<10>" LOC = "P64";
37#NET "O_ROM_AB<11>" LOC = "P83";
38#NET "O_ROM_AB<12>" LOC = "P88";
39#NET "O_ROM_AB<13>" LOC = "P95";
40#NET "O_ROM_AB<14>" LOC = "P97";
41#NET "O_ROM_AB<15>" LOC = "P93";
42#NET "O_ROM_AB<16>" LOC = "P96";
43#NET "O_ROM_AB<17>" LOC = "P98";
44#NET "O_ROM_AB<18>" LOC = "P94";
45#NET "O_ROM_CSn" LOC = "P61";
46#NET "O_ROM_OEn" LOC = "P69";
47#NET "O_ROM_WEn" LOC = "P100";
48#-------------------------------------------
49#--------- SOUND I/F -----------------------
50NET "O_SOUND_OUT_L" LOC = "AA22" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8;
51NET "O_SOUND_OUT_R" LOC = "V19" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8;
52#-------------------------------------------
53#--------- VIDEO I/F -----------------------
0840cca6
MG
54NET "O_VGA_R<2>" LOC = "K20" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
55NET "O_VGA_R<1>" LOC = "F25" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
56NET "O_VGA_R<0>" LOC = "F24" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
57NET "O_VGA_G<2>" LOC = "M18" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
58NET "O_VGA_G<1>" LOC = "J23" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
59NET "O_VGA_G<0>" LOC = "J22" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
60NET "O_VGA_B<1>" LOC = "G23" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
61NET "O_VGA_B<0>" LOC = "G24" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
782690d0
MG
62
63NET "O_VGA_H_SYNCn" LOC = "K26" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
64NET "O_VGA_V_SYNCn" LOC = "K25" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
65
66
67#-------------------------------------------
68#
69#---------- Build-in ROM -------------------------------------------------------------------------------
70#INST "col_rom00" INIT_00 = c6077600f007f6000700000007a0c00007c4c0003f07d8003fc01600f6000000;
Impressum, Datenschutz