dbx.ucf 2.88 KB

NET CLK PERIOD = 20ns ;
NET CLK LOC=P91;

# pp: force pin locations;

NET ASTROBE LOC=P62;
NET DSTROBE LOC=P80;
NET WRITE LOC=P81;
NET DATA<0> LOC=P73;
NET DATA<1> LOC=P70;
NET DATA<2> LOC=P69;
NET DATA<3> LOC=P66;
NET DATA<4> LOC=P60;
NET DATA<5> LOC=P57;
NET DATA<6> LOC=P56;
NET DATA<7> LOC=P53;
NET WAIT LOC=P74;
NET IRQ LOC=P47;
#NET USR1 LOC=P46;
#NET USR3 LOC=P45;

# set pullups/pulldowns;

NET ASTROBE PULLUP;
NET DSTROBE PULLUP;
NET WRITE PULLUP;
NET DATA<0> PULLDOWN;
NET DATA<1> PULLDOWN;
NET DATA<2> PULLDOWN;
NET DATA<3> PULLDOWN;
NET DATA<4> PULLDOWN;
NET DATA<5> PULLDOWN;
NET DATA<6> PULLDOWN;
NET DATA<7> PULLDOWN;
NET WAIT PULLDOWN;
NET IRQ PULLUP;
#NET USR1 PULLDOWN;
#NET USR3 PULLDOWN;

# pp: force io registers;

INST r_astrobe IOB=TRUE;
INST r_dstrobe IOB=TRUE;
INST r_write IOB=TRUE;
INST ro_wait IOB=TRUE;
INST re_wait IOB=TRUE;
#INST r_usr1 IOB=TRUE;
#INST r_usr3 IOB=TRUE;
INST ri_data* IOB=TRUE;
INST ro_data* IOB=TRUE;
INST re_data* IOB=TRUE;

# ide: force pin locations;

NET IORST LOC=P7;
#NET IOR LOC=P4;
NET IOW LOC=P5;
NET IOCS0 LOC=P98;
NET IOCS2 LOC=P41;
NET IOAD<0> LOC=P40;
NET IOAD<1> LOC=P34;
NET IOAD<2> LOC=P32;
NET IOAD<3> LOC=P31;
NET IOAD<4> LOC=P30;
NET IOAD<5> LOC=P22;
NET IOAD<6> LOC=P21;
NET IOAD<7> LOC=P20;
NET IOAD<8> LOC=P19;
NET IOAD<9> LOC=P18;
NET IOAD<10> LOC=P17;
NET IOAD<11> LOC=P16;
NET IOAD<12> LOC=P15;
NET IOAD<13> LOC=P13;
NET IOAD<14> LOC=P10;
NET IOAD<15> LOC=P9;
NET SW LOC=P8;
NET IOIRQ LOC=P6;
NET IOALE LOC=P3;

# set pullups/pulldowns;

NET IORST PULLDOWN;
#NET IOR PULLUP;
NET IOW PULLUP;
NET IOCS0 PULLUP;
NET IOCS2 PULLUP;
NET IOAD<0> PULLDOWN;
NET IOAD<1> PULLDOWN;
NET IOAD<2> PULLDOWN;
NET IOAD<3> PULLDOWN;
NET IOAD<4> PULLDOWN;
NET IOAD<5> PULLDOWN;
NET IOAD<6> PULLDOWN;
NET IOAD<7> PULLDOWN;
NET IOAD<8> PULLDOWN;
NET IOAD<9> PULLDOWN;
NET IOAD<10> PULLDOWN;
NET IOAD<11> PULLDOWN;
NET IOAD<12> PULLDOWN;
NET IOAD<13> PULLDOWN;
NET IOAD<14> PULLDOWN;
NET IOAD<15> PULLDOWN;
NET SW PULLDOWN;
NET IOIRQ PULLDOWN;
NET IOALE PULLDOWN;

# ide: force io registers;

INST r_iorst IOB=TRUE;
#INST r_ior IOB=TRUE LOC=XXX;
INST r_iow IOB=TRUE;
INST r_iocs0 IOB=TRUE;
INST r_iocs2 IOB=TRUE;
INST ri_ioad* IOB=TRUE;
INST ro_ioad* IOB=TRUE;
INST re_ioad* IOB=TRUE;
INST ale_addr* IOB=TRUE;

# buttons: force pin locations;
# buttons: force io buffers;

NET BUT_A LOC=P84;
NET BUT_B LOC=P71;
NET BUT_C LOC=P87;
NET BUT_D LOC=P93;
NET BUT_E LOC=P95;
NET BUT_F LOC=P86;
NET BUT_L LOC=P96;
NET BUT_R LOC=P97;
NET BUT_Z LOC=P68;
NET BUT_LEFT LOC=P65;
NET BUT_RIGHT LOC=P72;
NET BUT_UP LOC=P67;
NET BUT_DOWN LOC=P82;
NET BUT_START LOC=P83;
INST r_but* IOB=TRUE;

# set pullups/pulldowns;

NET BUT_A PULLDOWN;
NET BUT_B PULLDOWN;
NET BUT_C PULLDOWN;
NET BUT_D PULLDOWN;
NET BUT_E PULLDOWN;
NET BUT_F PULLDOWN;
NET BUT_L PULLDOWN;
NET BUT_R PULLDOWN;
NET BUT_Z PULLDOWN;
NET BUT_LEFT PULLDOWN;
NET BUT_RIGHT PULLDOWN;
NET BUT_UP PULLDOWN;
NET BUT_DOWN PULLDOWN;
NET BUT_START PULLDOWN;