SPARK-3, Spartan-3 FPGA Development Board User Constraint File.

# User Constraint File for SPARK-3, Spartan3 FPGA Development Board v 1.0
# Remove or comment out  lines correspond to unused pins.

# Clock input
NET "CLK" LOC = P40;
NET "CLK" TNM_NET = CLK;
TIMESPEC TS_CLK = PERIOD "CLK" 12 MHz HIGH 50%;

# Onboard LEDs
NET "LED[0]" LOC = P3;
NET "LED[1]" LOC = P4;
NET "LED[2]" LOC = P5;
NET "LED[3]" LOC = P6;
NET "LED[4]" LOC = P13;
NET "LED[5]" LOC = P9;
NET "LED[6]" LOC = P10;
NET "LED[7]" LOC = P12;

# Push Button Switches.
# Internall pull-ups need to be enabled since 
# there is no pull-up resistor available on board
NET "SW0" PULLUP;
NET "SW1" PULLUP;
NET "SW2" PULLUP;
NET "SW3" PULLUP;

NET "SW0" LOC = P7;
NET "SW1" LOC = P15;
NET "SW2" LOC = P16;
NET "SW3" LOC = P21;

# DIP Button Switches.
# Internall pull-ups need to be enabled since 
# there is no pull-up resistor available on board
NET "DP1" PULLUP;
NET "DP2" PULLUP;
NET "DP3" PULLUP;
NET "DP4" PULLUP;
NET "DP5" PULLUP;
NET "DP6" PULLUP;
NET "DP7" PULLUP;
NET "DP8" PULLUP;

NET "DP1" LOC = P88;
NET "DP2" LOC = P89;
NET "DP3" LOC = P90;
NET "DP4" LOC = P93;
NET "DP5" LOC = P94;
NET "DP6" LOC = P97;
NET "DP7" LOC = P98;
NET "DP8" LOC = P99;

# Generic IOs on connector IO0
NET "IO03" LOC = P49;
NET "IO02" LOC = P50;
NET "IO01" LOC = P56;
NET "IO00" LOC = P57;

# Generic IOs on connector IO1
NET "IO13" LOC = P59;
NET "IO12" LOC = P60;
NET "IO11" LOC = P61;
NET "IO10" LOC = P62;

# Generic IOs on connector IO2
NET "IO23" LOC = P64;
NET "IO22" LOC = P65;
NET "IO21" LOC = P70;
NET "IO20" LOC = P71;

# Generic IOs on connector IO3
NET "IO33" LOC = P72;
NET "IO32" LOC = P73;
NET "IO31" LOC = P77;
NET "IO30" LOC = P78;

# Generic IOs on connector IO4
NET "R51" LOC = P28;
NET "R52" LOC = P41;

# Differential pairs on connector IO4
NET "R0P" LOC = P32;
NET "R0M" LOC = P34;

NET "R1P" LOC = P33;
NET "R1M" LOC = P35;

NET "R2P" LOC = P36;
NET "R2M" LOC = P37;

NET "R3P" LOC = P43;
NET "R3M" LOC = P44;
No comments yet.

Leave a Reply