1 ### UCF file for FPGA-MOONCRST on XC2S200E
3 #---------- MasterClock 18.432MHz ----------
4 NET "I_CLK_125M" LOC = "F13" | IOSTANDARD = LVCMOS33;
5 #-------------------------------------------
6 #---------- SW I/F -------------------------
7 NET "I_PSW<0>" LOC = "K19" | IOSTANDARD = LVTTL | PULLUP; #up
8 NET "I_PSW<1>" LOC = "K18" | IOSTANDARD = LVTTL | PULLUP; #down
9 NET "I_PSW<2>" LOC = "G22" | IOSTANDARD = LVTTL | PULLUP; #left
10 NET "I_PSW<3>" LOC = "F22" | IOSTANDARD = LVTTL | PULLUP; #right
11 NET "I_PSW<4>" LOC = "F23" | IOSTANDARD = LVTTL | PULLUP; #btn
12 NET "I_PSW<5>" LOC = "J10" | IOSTANDARD = LVTTL | PULLDOWN; #s8 - s1
13 NET "I_PSW<6>" LOC = "J13" | IOSTANDARD = LVTTL | PULLDOWN; #s7 - c1
14 NET "I_PSW<7>" LOC = "J15" | IOSTANDARD = LVTTL | PULLDOWN; #s6 - s2
15 NET "I_PSW<8>" LOC = "J17" | IOSTANDARD = LVTTL | PULLDOWN; #s5 - c2
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 -----------------------
50 NET "O_SOUND_OUT_L" LOC = "AA22" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8;
51 NET "O_SOUND_OUT_R" LOC = "V19" | IOSTANDARD = LVTTL | SLEW = SLOW | DRIVE = 8;
52 #-------------------------------------------
53 #--------- VIDEO I/F -----------------------
54 NET "O_VGA_R<0>" LOC = "V18" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
55 NET "O_VGA_R<1>" LOC = "F24" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
56 NET "O_VGA_R<2>" LOC = "F25" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
57 NET "O_VGA_R<3>" LOC = "K20" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
58 NET "O_VGA_R<4>" LOC = "L20" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
59 NET "O_VGA_G<0>" LOC = "T17" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
60 NET "O_VGA_G<1>" LOC = "J22" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
61 NET "O_VGA_G<2>" LOC = "J23" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
62 NET "O_VGA_G<3>" LOC = "M18" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
63 NET "O_VGA_G<4>" LOC = "M19" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
64 NET "O_VGA_B<0>" LOC = "Y25" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
65 NET "O_VGA_B<1>" LOC = "G24" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
66 NET "O_VGA_B<2>" LOC = "G23" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
67 NET "O_VGA_B<3>" LOC = "K21" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
68 NET "O_VGA_B<4>" LOC = "L22" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
70 NET "O_VGA_H_SYNCn" LOC = "K26" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
71 NET "O_VGA_V_SYNCn" LOC = "K25" | IOSTANDARD = LVTTL | DRIVE = 8 | SLEW = FAST ;
74 #-------------------------------------------
76 #---------- Build-in ROM -------------------------------------------------------------------------------
77 #INST "col_rom00" INIT_00 = c6077600f007f6000700000007a0c00007c4c0003f07d8003fc01600f6000000;