Commit d7df060a authored by Jan Michel's avatar Jan Michel
Browse files

add new pinout files for TRB5sc

parent d2c19558
......@@ -31,4 +31,5 @@ work
licbug.txt
old
config_compile.pl
._Real_._Math_.vhd
\ No newline at end of file
._Real_._Math_.vhd
diamond
COMMERCIAL ;
BLOCK RESETPATHS ;
BLOCK ASYNCPATHS ;
SYSCONFIG MCCLK_FREQ=38.8 CONFIG_IOVOLTAGE=3.3 ; #BACKGROUND_RECONFIG=ON
SYSCONFIG MCCLK_FREQ=38.8 CONFIG_IOVOLTAGE=3.3 ;#BACKGROUND_RECONFIG=ON
BANK 0 VCCIO 2.5 V;
BANK 1 VCCIO 2.5 V;
BANK 2 VCCIO 2.5 V;
......@@ -11,74 +10,61 @@ BANK 4 VCCIO 3.3 V;
BANK 6 VCCIO 2.5 V;
BANK 7 VCCIO 2.5 V;
BANK 8 VCCIO 3.3 V;
#################################################################
# Clock I/O
#################################################################
LOCATE COMP "CLK_125" SITE "AD1"; #was "OSC_CORE_125"
LOCATE COMP "CLK_200" SITE "AD32"; #was "OSC_CORE_200"
LOCATE COMP "CLK_EXT" SITE "C28"; #was "EXT_CLOCK"
LOCATE COMP "CLK_125" SITE "AD1" ;#was "OSC_CORE_125"
LOCATE COMP "CLK_200" SITE "AD32" ;#was "OSC_CORE_200"
LOCATE COMP "CLK_EXT" SITE "C28" ;#was "EXT_CLOCK"
DEFINE PORT GROUP "CLK_group" "CLK*" ;
IOBUF GROUP "CLK_group" IO_TYPE=LVDS DIFFRESISTOR=100;
IOBUF GROUP "CLK_group" IO_TYPE=LVDS DIFFRESISTOR=100 ;
# LOCATE COMP "ENPIRION_CLOCK" SITE "AM31";
# IOBUF PORT "ENPIRION_CLOCK" IO_TYPE=LVTTL33;
#################################################################
# Trigger I/O
#################################################################
LOCATE COMP "TRIG_IN_BACKPL" SITE "AD3";
LOCATE COMP "TRIG_IN_RJ45" SITE "AC2";
LOCATE COMP "TRIG_IN_BACKPL" SITE "AD3" ;
LOCATE COMP "TRIG_IN_RJ45" SITE "AC2" ;
DEFINE PORT GROUP "TRIG_IN_group" "TRIG_IN*" ;
IOBUF GROUP "TRIG_IN_group" IO_TYPE=LVDS DIFFRESISTOR=100;
LOCATE COMP "SPARE_0" SITE "AC3";
LOCATE COMP "SPARE_1" SITE "AB1";
IOBUF GROUP "TRIG_IN_group" IO_TYPE=LVDS DIFFRESISTOR=100 ;
LOCATE COMP "SPARE[0]" SITE "AC3" ;
LOCATE COMP "SPARE[1]" SITE "AB1" ;
DEFINE PORT GROUP "SPARE_group" "SPARE*" ;
IOBUF GROUP "SPARE_group" IO_TYPE=LVDS ;
IOBUF GROUP "SPARE_group" IO_TYPE=LVDS ;
#################################################################
# SFP
#################################################################
LOCATE COMP "SFP_TX_DIS" SITE "AH28";
LOCATE COMP "SFP_LOS" SITE "AK29";
LOCATE COMP "SFP_MOD_0" SITE "AG28";
IOBUF PORT "SFP_TX_DIS" IO_TYPE=LVTTL33 PULLMODE=NONE ;
IOBUF PORT "SFP_LOS" IO_TYPE=LVTTL33 PULLMODE=NONE ;
IOBUF PORT "SFP_MOD_0" IO_TYPE=LVTTL33 PULLMODE=NONE ;
LOCATE COMP "SFP_TX_DIS" SITE "AH28" ;
LOCATE COMP "SFP_LOS" SITE "AK29" ;
LOCATE COMP "SFP_MOD_0" SITE "AG28" ;
IOBUF PORT "SFP_TX_DIS" IO_TYPE=LVTTL33 PULLMODE=NONE ;
IOBUF PORT "SFP_LOS" IO_TYPE=LVTTL33 PULLMODE=NONE ;
IOBUF PORT "SFP_MOD_0" IO_TYPE=LVTTL33 PULLMODE=NONE ;
# LOCATE COMP "SFP_RATE_SEL" SITE "AG30";
# LOCATE COMP "SFP_TX_FAULT" SITE "AH30";
# LOCATE COMP "SFP_MOD_1" SITE "AG29";
# LOCATE COMP "SFP_MOD_2" SITE "AJ28";
#################################################################
# Frontend
#################################################################
LOCATE COMP "FE_GPIO_0" SITE "A18";
LOCATE COMP "FE_GPIO_1" SITE "C18";
LOCATE COMP "FE_GPIO_2" SITE "D18";
LOCATE COMP "FE_GPIO_3" SITE "F18";
LOCATE COMP "FE_GPIO_4" SITE "A19";
LOCATE COMP "FE_GPIO_5" SITE "B19";
LOCATE COMP "FE_GPIO_6" SITE "C19";
LOCATE COMP "FE_GPIO_7" SITE "D19";
LOCATE COMP "FE_GPIO_8" SITE "E19";
LOCATE COMP "FE_GPIO_9" SITE "F19";
LOCATE COMP "FE_GPIO_10" SITE "A20";
LOCATE COMP "FE_GPIO_11" SITE "C20";
LOCATE COMP "FE_GPIO[0]" SITE "A18" ;
LOCATE COMP "FE_GPIO[1]" SITE "C18" ;
LOCATE COMP "FE_GPIO[2]" SITE "D18" ;
LOCATE COMP "FE_GPIO[3]" SITE "F18" ;
LOCATE COMP "FE_GPIO[4]" SITE "A19" ;
LOCATE COMP "FE_GPIO[5]" SITE "B19" ;
LOCATE COMP "FE_GPIO[6]" SITE "C19" ;
LOCATE COMP "FE_GPIO[7]" SITE "D19" ;
LOCATE COMP "FE_GPIO[8]" SITE "E19" ;
LOCATE COMP "FE_GPIO[9]" SITE "F19" ;
LOCATE COMP "FE_GPIO[10]" SITE "A20" ;
LOCATE COMP "FE_GPIO[11]" SITE "C20" ;
DEFINE PORT GROUP "FE_GPIO_group" "FE_GPIO*" ;
IOBUF GROUP "FE_GPIO_group" IO_TYPE=LVCMOS25 PULLMODE=UP;
LOCATE COMP "FE_CLK_1" SITE "C5";
LOCATE COMP "FE_CLK_2" SITE "P5";
IOBUF GROUP "FE_GPIO_group" IO_TYPE=LVCMOS25 PULLMODE=UP ;
LOCATE COMP "FE_CLK[1]" SITE "C5" ;
LOCATE COMP "FE_CLK[2]" SITE "P5" ;
DEFINE PORT GROUP "FE_CLK_group" "FE_CLK*" ;
IOBUF GROUP "FE_CLK_group" IO_TYPE=LVDS DIFFRESISTOR=100;
IOBUF GROUP "FE_CLK_group" IO_TYPE=LVDS DIFFRESISTOR=100 ;
# LOCATE COMP "FE_CLK_2_N" SITE "P4";
# LOCATE COMP "FE_CLK_1_N" SITE "D5";
# LOCATE COMP "FE_DIFF_0_N" SITE "T28";
......@@ -145,196 +131,176 @@ IOBUF GROUP "FE_CLK_group" IO_TYPE=LVDS DIFFRESISTOR=100;
# LOCATE COMP "FE_DIFF_61_N" SITE "AC6";
# LOCATE COMP "FE_DIFF_62_N" SITE "AB6";
# LOCATE COMP "FE_DIFF_63_N" SITE "AD7";
LOCATE COMP "FE_DIFF_0" SITE "R29";
LOCATE COMP "FE_DIFF_1" SITE "T29";
LOCATE COMP "FE_DIFF_2" SITE "P31";
LOCATE COMP "FE_DIFF_3" SITE "R30";
LOCATE COMP "FE_DIFF_4" SITE "N32";
LOCATE COMP "FE_DIFF_5" SITE "U31";
LOCATE COMP "FE_DIFF_6" SITE "R32";
LOCATE COMP "FE_DIFF_7" SITE "W30";
LOCATE COMP "FE_DIFF_8" SITE "T32";
LOCATE COMP "FE_DIFF_9" SITE "V32";
LOCATE COMP "FE_DIFF_10" SITE "Y26";
LOCATE COMP "FE_DIFF_11" SITE "Y28";
LOCATE COMP "FE_DIFF_12" SITE "Y29";
LOCATE COMP "FE_DIFF_13" SITE "AB26";
LOCATE COMP "FE_DIFF_14" SITE "AB28";
LOCATE COMP "FE_DIFF_15" SITE "AC26";
LOCATE COMP "FE_DIFF_16" SITE "D29";
LOCATE COMP "FE_DIFF_17" SITE "F29";
LOCATE COMP "FE_DIFF_18" SITE "B32";
LOCATE COMP "FE_DIFF_19" SITE "D30";
LOCATE COMP "FE_DIFF_20" SITE "F30";
LOCATE COMP "FE_DIFF_21" SITE "C32";
LOCATE COMP "FE_DIFF_22" SITE "F31";
LOCATE COMP "FE_DIFF_23" SITE "F32";
LOCATE COMP "FE_DIFF_24" SITE "H31";
LOCATE COMP "FE_DIFF_25" SITE "J30";
LOCATE COMP "FE_DIFF_26" SITE "K31";
LOCATE COMP "FE_DIFF_27" SITE "K32";
LOCATE COMP "FE_DIFF_28" SITE "L31";
LOCATE COMP "FE_DIFF_29" SITE "J29";
LOCATE COMP "FE_DIFF_30" SITE "H27";
LOCATE COMP "FE_DIFF_31" SITE "K27";
LOCATE COMP "FE_DIFF_32" SITE "D4";
LOCATE COMP "FE_DIFF_33" SITE "F4";
LOCATE COMP "FE_DIFF_34" SITE "B1";
LOCATE COMP "FE_DIFF_35" SITE "D3";
LOCATE COMP "FE_DIFF_36" SITE "F3";
LOCATE COMP "FE_DIFF_37" SITE "C1";
LOCATE COMP "FE_DIFF_38" SITE "F2";
LOCATE COMP "FE_DIFF_39" SITE "F1";
LOCATE COMP "FE_DIFF_40" SITE "H2";
LOCATE COMP "FE_DIFF_41" SITE "J3";
LOCATE COMP "FE_DIFF_42" SITE "K2";
LOCATE COMP "FE_DIFF_43" SITE "K1";
LOCATE COMP "FE_DIFF_44" SITE "L2";
LOCATE COMP "FE_DIFF_45" SITE "J4";
LOCATE COMP "FE_DIFF_46" SITE "H6";
LOCATE COMP "FE_DIFF_47" SITE "K6";
LOCATE COMP "FE_DIFF_48" SITE "R4";
LOCATE COMP "FE_DIFF_49" SITE "T4";
LOCATE COMP "FE_DIFF_50" SITE "P2";
LOCATE COMP "FE_DIFF_51" SITE "R3";
LOCATE COMP "FE_DIFF_52" SITE "N1";
LOCATE COMP "FE_DIFF_53" SITE "U2";
LOCATE COMP "FE_DIFF_54" SITE "R1";
LOCATE COMP "FE_DIFF_55" SITE "W3";
LOCATE COMP "FE_DIFF_56" SITE "T1";
LOCATE COMP "FE_DIFF_57" SITE "V1";
LOCATE COMP "FE_DIFF_58" SITE "Y7";
LOCATE COMP "FE_DIFF_59" SITE "Y5";
LOCATE COMP "FE_DIFF_60" SITE "Y4";
LOCATE COMP "FE_DIFF_61" SITE "AB7";
LOCATE COMP "FE_DIFF_62" SITE "AB5";
LOCATE COMP "FE_DIFF_63" SITE "AC7";
LOCATE COMP "FE_DIFF[0]" SITE "R29" ;
LOCATE COMP "FE_DIFF[1]" SITE "T29" ;
LOCATE COMP "FE_DIFF[2]" SITE "P31" ;
LOCATE COMP "FE_DIFF[3]" SITE "R30" ;
LOCATE COMP "FE_DIFF[4]" SITE "N32" ;
LOCATE COMP "FE_DIFF[5]" SITE "U31" ;
LOCATE COMP "FE_DIFF[6]" SITE "R32" ;
LOCATE COMP "FE_DIFF[7]" SITE "W30" ;
LOCATE COMP "FE_DIFF[8]" SITE "T32" ;
LOCATE COMP "FE_DIFF[9]" SITE "V32" ;
LOCATE COMP "FE_DIFF[10]" SITE "Y26" ;
LOCATE COMP "FE_DIFF[11]" SITE "Y28" ;
LOCATE COMP "FE_DIFF[12]" SITE "Y29" ;
LOCATE COMP "FE_DIFF[13]" SITE "AB26" ;
LOCATE COMP "FE_DIFF[14]" SITE "AB28" ;
LOCATE COMP "FE_DIFF[15]" SITE "AC26" ;
LOCATE COMP "FE_DIFF[16]" SITE "D29" ;
LOCATE COMP "FE_DIFF[17]" SITE "F29" ;
LOCATE COMP "FE_DIFF[18]" SITE "B32" ;
LOCATE COMP "FE_DIFF[19]" SITE "D30" ;
LOCATE COMP "FE_DIFF[20]" SITE "F30" ;
LOCATE COMP "FE_DIFF[21]" SITE "C32" ;
LOCATE COMP "FE_DIFF[22]" SITE "F31" ;
LOCATE COMP "FE_DIFF[23]" SITE "F32" ;
LOCATE COMP "FE_DIFF[24]" SITE "H31" ;
LOCATE COMP "FE_DIFF[25]" SITE "J30" ;
LOCATE COMP "FE_DIFF[26]" SITE "K31" ;
LOCATE COMP "FE_DIFF[27]" SITE "K32" ;
LOCATE COMP "FE_DIFF[28]" SITE "L31" ;
LOCATE COMP "FE_DIFF[29]" SITE "J29" ;
LOCATE COMP "FE_DIFF[30]" SITE "H27" ;
LOCATE COMP "FE_DIFF[31]" SITE "K27" ;
LOCATE COMP "FE_DIFF[32]" SITE "D4" ;
LOCATE COMP "FE_DIFF[33]" SITE "F4" ;
LOCATE COMP "FE_DIFF[34]" SITE "B1" ;
LOCATE COMP "FE_DIFF[35]" SITE "D3" ;
LOCATE COMP "FE_DIFF[36]" SITE "F3" ;
LOCATE COMP "FE_DIFF[37]" SITE "C1" ;
LOCATE COMP "FE_DIFF[38]" SITE "F2" ;
LOCATE COMP "FE_DIFF[39]" SITE "F1" ;
LOCATE COMP "FE_DIFF[40]" SITE "H2" ;
LOCATE COMP "FE_DIFF[41]" SITE "J3" ;
LOCATE COMP "FE_DIFF[42]" SITE "K2" ;
LOCATE COMP "FE_DIFF[43]" SITE "K1" ;
LOCATE COMP "FE_DIFF[44]" SITE "L2" ;
LOCATE COMP "FE_DIFF[45]" SITE "J4" ;
LOCATE COMP "FE_DIFF[46]" SITE "H6" ;
LOCATE COMP "FE_DIFF[47]" SITE "K6" ;
LOCATE COMP "FE_DIFF[48]" SITE "R4" ;
LOCATE COMP "FE_DIFF[49]" SITE "T4" ;
LOCATE COMP "FE_DIFF[50]" SITE "P2" ;
LOCATE COMP "FE_DIFF[51]" SITE "R3" ;
LOCATE COMP "FE_DIFF[52]" SITE "N1" ;
LOCATE COMP "FE_DIFF[53]" SITE "U2" ;
LOCATE COMP "FE_DIFF[54]" SITE "R1" ;
LOCATE COMP "FE_DIFF[55]" SITE "W3" ;
LOCATE COMP "FE_DIFF[56]" SITE "T1" ;
LOCATE COMP "FE_DIFF[57]" SITE "V1" ;
LOCATE COMP "FE_DIFF[58]" SITE "Y7" ;
LOCATE COMP "FE_DIFF[59]" SITE "Y5" ;
LOCATE COMP "FE_DIFF[60]" SITE "Y4" ;
LOCATE COMP "FE_DIFF[61]" SITE "AB7" ;
LOCATE COMP "FE_DIFF[62]" SITE "AB5" ;
LOCATE COMP "FE_DIFF[63]" SITE "AC7" ;
DEFINE PORT GROUP "FE_DIFF_group" "FE_DIFF*" ;
IOBUF GROUP "FE_DIFF_group" IO_TYPE=LVDS DIFFRESISTOR=100;
IOBUF GROUP "FE_DIFF_group" IO_TYPE=LVDS DIFFRESISTOR=100 ;
#################################################################
# Temperature, Flash & ID
#################################################################
LOCATE COMP "I2C_SDA" SITE "A11";
LOCATE COMP "I2C_SCL" SITE "B11";
LOCATE COMP "TMP_ALERT" SITE "C11";
IOBUF PORT "I2C_SDA" IO_TYPE=LVCMOS25 ;
IOBUF PORT "I2C_SCL" IO_TYPE=LVCMOS25 ;
IOBUF PORT "TMP_ALERT" IO_TYPE=LVCMOS25 ;
LOCATE COMP "PROGRAMN" SITE "AH1";
IOBUF PORT "PROGRAMN" IO_TYPE=LVTTL33 PULLMODE=UP DRIVE=8 ;
LOCATE COMP "IN_SELECT_EXT_CLOCK" SITE "A16";
IOBUF PORT "IN_SELECT_EXT_CLOCK" IO_TYPE=LVCMOS25 ;
LOCATE COMP "FLASH_HOLD" SITE "AL1";
LOCATE COMP "FLASH_MISO" SITE "AJ2";
LOCATE COMP "FLASH_MOSI" SITE "AK2";
LOCATE COMP "FLASH_NCS" SITE "AJ3";
LOCATE COMP "FLASH_SCLK" SITE "AJ1";
LOCATE COMP "FLASH_WP" SITE "AM2";
LOCATE COMP "I2C_SDA" SITE "A11" ;
LOCATE COMP "I2C_SCL" SITE "B11" ;
LOCATE COMP "TMP_ALERT" SITE "C11" ;
IOBUF PORT "I2C_SDA" IO_TYPE=LVCMOS25 ;
IOBUF PORT "I2C_SCL" IO_TYPE=LVCMOS25 ;
IOBUF PORT "TMP_ALERT" IO_TYPE=LVCMOS25 ;
LOCATE COMP "PROGRAMN" SITE "AH1" ;
IOBUF PORT "PROGRAMN" IO_TYPE=LVTTL33 DRIVE=8 ;
LOCATE COMP "IN_SELECT_EXT_CLOCK" SITE "A16" ;
IOBUF PORT "IN_SELECT_EXT_CLOCK" IO_TYPE=LVCMOS25 ;
LOCATE COMP "FLASH_HOLD" SITE "AL1" ;
LOCATE COMP "FLASH_MISO" SITE "AJ2" ;
LOCATE COMP "FLASH_MOSI" SITE "AK2" ;
LOCATE COMP "FLASH_NCS" SITE "AJ3" ;
LOCATE COMP "FLASH_SCLK" SITE "AJ1" ;
LOCATE COMP "FLASH_WP" SITE "AM2" ;
DEFINE PORT GROUP "FLASH_group" "FLASH*" ;
IOBUF GROUP "FLASH_group" IO_TYPE=LVTTL33 PULLMODE=NONE;
LOCATE COMP "ADC_MISO" SITE "AK3";
LOCATE COMP "ADC_MOSI" SITE "AL3";
LOCATE COMP "ADC_NCS" SITE "AH3";
LOCATE COMP "ADC_SCLK" SITE "AG3";
IOBUF PORT "ADC_SCLK" IO_TYPE=LVTTL33 PULLMODE=UP DRIVE=4 ;
IOBUF PORT "ADC_NCS" IO_TYPE=LVTTL33 PULLMODE=UP DRIVE=4 ;
IOBUF PORT "ADC_MOSI" IO_TYPE=LVTTL33 PULLMODE=UP DRIVE=4 ;
IOBUF PORT "ADC_MISO" IO_TYPE=LVTTL33 PULLMODE=UP ;
IOBUF GROUP "FLASH_group" IO_TYPE=LVTTL33 PULLMODE=NONE ;
LOCATE COMP "ADC_MISO" SITE "AK3" ;
LOCATE COMP "ADC_MOSI" SITE "AL3" ;
LOCATE COMP "ADC_NCS" SITE "AH3" ;
LOCATE COMP "ADC_SCLK" SITE "AG3" ;
IOBUF PORT "ADC_SCLK" IO_TYPE=LVTTL33 PULLMODE=NONE DRIVE=4 ;
IOBUF PORT "ADC_NCS" IO_TYPE=LVTTL33 PULLMODE=UP DRIVE=4 ;
IOBUF PORT "ADC_MOSI" IO_TYPE=LVTTL33 PULLMODE=UP DRIVE=4 ;
IOBUF PORT "ADC_MISO" IO_TYPE=LVTTL33 PULLMODE=UP ;
#################################################################
# LED
#################################################################
LOCATE COMP "LED_SFP_YELLOW" SITE "AG32";
LOCATE COMP "LED_SFP_GREEN" SITE "AK30";
LOCATE COMP "LED_SFP_RED" SITE "AH32";
LOCATE COMP "LED_SFP_YELLOW" SITE "AG32" ;
LOCATE COMP "LED_SFP_GREEN" SITE "AK30" ;
LOCATE COMP "LED_SFP_RED" SITE "AH32" ;
DEFINE PORT GROUP "LED_SFP_group" "LED_SFP*" ;
IOBUF GROUP "LED_SFP_group" IO_TYPE=LVTTL33 ;
LOCATE COMP "LED_1" SITE "A26";
LOCATE COMP "LED_2" SITE "B26";
LOCATE COMP "LED_3" SITE "A28";
LOCATE COMP "LED_4" SITE "A29";
LOCATE COMP "LED_5" SITE "A30";
LOCATE COMP "LED_6" SITE "A31";
LOCATE COMP "LED_7" SITE "B29";
LOCATE COMP "LED_8" SITE "B30";
IOBUF PORT "LED_1" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED_2" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED_3" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED_4" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED_5" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED_6" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED_7" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED_8" IO_TYPE=LVCMOS25 ;
LOCATE COMP "LED_RJ_GREEN_0" SITE "AK32";
LOCATE COMP "LED_RJ_RED_0" SITE "AJ32";
LOCATE COMP "LED_EXT_CLOCK" SITE "AJ30";
LOCATE COMP "LED_RJ_GREEN_1" SITE "AM30";
LOCATE COMP "LED_RJ_RED_1" SITE "AL30";
IOBUF PORT "LED_RJ_GREEN_0" IO_TYPE=LVTTL33 ;
IOBUF PORT "LED_RJ_RED_0" IO_TYPE=LVTTL33 ;
IOBUF PORT "LED_EXT_CLOCK" IO_TYPE=LVTTL33 ;
IOBUF PORT "LED_RJ_GREEN_1" IO_TYPE=LVTTL33 ;
IOBUF PORT "LED_RJ_RED_1" IO_TYPE=LVTTL33 ;
IOBUF GROUP "LED_SFP_group" IO_TYPE=LVTTL33 ;
LOCATE COMP "LED[1]" SITE "A26" ;
LOCATE COMP "LED[2]" SITE "B26" ;
LOCATE COMP "LED[3]" SITE "A28" ;
LOCATE COMP "LED[4]" SITE "A29" ;
LOCATE COMP "LED[5]" SITE "A30" ;
LOCATE COMP "LED[6]" SITE "A31" ;
LOCATE COMP "LED[7]" SITE "B29" ;
LOCATE COMP "LED[8]" SITE "B30" ;
IOBUF PORT "LED[1]" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED[2]" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED[3]" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED[4]" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED[5]" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED[6]" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED[7]" IO_TYPE=LVCMOS25 ;
IOBUF PORT "LED[8]" IO_TYPE=LVCMOS25 ;
LOCATE COMP "LED_RJ_GREEN[0]" SITE "AK32" ;
LOCATE COMP "LED_RJ_RED[0]" SITE "AJ32" ;
LOCATE COMP "LED_EXT_CLOCK" SITE "AJ30" ;
LOCATE COMP "LED_RJ_GREEN[1]" SITE "AM30" ;
LOCATE COMP "LED_RJ_RED[1]" SITE "AL30" ;
IOBUF PORT "LED_RJ_GREEN[0]" IO_TYPE=LVTTL33 ;
IOBUF PORT "LED_RJ_RED[0]" IO_TYPE=LVTTL33 ;
IOBUF PORT "LED_EXT_CLOCK" IO_TYPE=LVTTL33 ;
IOBUF PORT "LED_RJ_GREEN[1]" IO_TYPE=LVTTL33 ;
IOBUF PORT "LED_RJ_RED[1]" IO_TYPE=LVTTL33 ;
#################################################################
# Test & Other IO
#################################################################
LOCATE COMP "TEST_1" SITE "A7";
LOCATE COMP "TEST_2" SITE "A5";
LOCATE COMP "TEST_3" SITE "A4";
LOCATE COMP "TEST_4" SITE "A3";
LOCATE COMP "TEST_5" SITE "A2";
LOCATE COMP "TEST_6" SITE "B3";
LOCATE COMP "TEST_7" SITE "B4";
LOCATE COMP "TEST_8" SITE "B7";
LOCATE COMP "TEST_9" SITE "C7";
LOCATE COMP "TEST_10" SITE "C8";
LOCATE COMP "TEST_11" SITE "D7";
LOCATE COMP "TEST_12" SITE "D8";
LOCATE COMP "TEST_13" SITE "E8";
LOCATE COMP "TEST_14" SITE "F8";
LOCATE COMP "TEST[1]" SITE "A7" ;
LOCATE COMP "TEST[2]" SITE "A5" ;
LOCATE COMP "TEST[3]" SITE "A4" ;
LOCATE COMP "TEST[4]" SITE "A3" ;
LOCATE COMP "TEST[5]" SITE "A2" ;
LOCATE COMP "TEST[6]" SITE "B3" ;
LOCATE COMP "TEST[7]" SITE "B4" ;
LOCATE COMP "TEST[8]" SITE "B7" ;
LOCATE COMP "TEST[9]" SITE "C7" ;
LOCATE COMP "TEST[10]" SITE "C8" ;
LOCATE COMP "TEST[11]" SITE "D7" ;
LOCATE COMP "TEST[12]" SITE "D8" ;
LOCATE COMP "TEST[13]" SITE "E8" ;
LOCATE COMP "TEST[14]" SITE "F8" ;
DEFINE PORT GROUP "TEST_group" "TEST*" ;
IOBUF GROUP "TEST_group" IO_TYPE=LVCMOS25 PULLMODE=DOWN DRIVE=8;
LOCATE COMP "HDR_IO_0" SITE "A23";
LOCATE COMP "HDR_IO_1" SITE "A22";
LOCATE COMP "HDR_IO_2" SITE "B22";
LOCATE COMP "HDR_IO_3" SITE "A24";
LOCATE COMP "HDR_IO_4" SITE "C23";
LOCATE COMP "HDR_IO_5" SITE "B23";
LOCATE COMP "HDR_IO_6" SITE "C22";
LOCATE COMP "HDR_IO_7" SITE "C24";
LOCATE COMP "HDR_IO_8" SITE "D23";
LOCATE COMP "HDR_IO_9" SITE "D24";
LOCATE COMP "HDR_IO_10" SITE "E23";
LOCATE COMP "HDR_IO_11" SITE "D22";
LOCATE COMP "HDR_IO_12" SITE "F23";
LOCATE COMP "HDR_IO_13" SITE "E22";
LOCATE COMP "HDR_IO_14" SITE "F20";
LOCATE COMP "HDR_IO_15" SITE "F22";
IOBUF GROUP "TEST_group" IO_TYPE=LVCMOS25 DRIVE=8 ;
LOCATE COMP "HDR_IO[0]" SITE "A23" ;
LOCATE COMP "HDR_IO[1]" SITE "A22" ;
LOCATE COMP "HDR_IO[2]" SITE "B22" ;
LOCATE COMP "HDR_IO[3]" SITE "A24" ;
LOCATE COMP "HDR_IO[4]" SITE "C23" ;
LOCATE COMP "HDR_IO[5]" SITE "B23" ;
LOCATE COMP "HDR_IO[6]" SITE "C22" ;
LOCATE COMP "HDR_IO[7]" SITE "C24" ;
LOCATE COMP "HDR_IO[8]" SITE "D23" ;
LOCATE COMP "HDR_IO[9]" SITE "D24" ;
LOCATE COMP "HDR_IO[10]" SITE "E23" ;
LOCATE COMP "HDR_IO[11]" SITE "D22" ;
LOCATE COMP "HDR_IO[12]" SITE "F23" ;
LOCATE COMP "HDR_IO[13]" SITE "E22" ;
LOCATE COMP "HDR_IO[14]" SITE "F20" ;
LOCATE COMP "HDR_IO[15]" SITE "F22" ;
DEFINE PORT GROUP "HDR_group" "HDR*" ;
IOBUF GROUP "HDR_group" IO_TYPE=LVCMOS25 PULLMODE=DOWN ;
LOCATE COMP "BACK_GPIO_0" SITE "P28";
LOCATE COMP "BACK_GPIO_1" SITE "P29";
LOCATE COMP "BACK_GPIO_2" SITE "R27";
LOCATE COMP "BACK_GPIO_3" SITE "T27";
IOBUF GROUP "HDR_group" IO_TYPE=LVCMOS25 ;
LOCATE COMP "BACK_GPIO[0]" SITE "P28" ;
LOCATE COMP "BACK_GPIO[1]" SITE "P29" ;
LOCATE COMP "BACK_GPIO[2]" SITE "R27" ;
LOCATE COMP "BACK_GPIO[3]" SITE "T27" ;
DEFINE PORT GROUP "BACK_GPIO_group" "BACK_GPIO*" ;
IOBUF GROUP "BACK_GPIO_group" IO_TYPE=LVCMOS25 PULLMODE=UP;
IOBUF GROUP "BACK_GPIO_group" IO_TYPE=LVCMOS25 PULLMODE=UP ;
IOBUF PORT "FE_CLK[1]" IO_TYPE=LVDS ;
COMMERCIAL ;
BLOCK RESETPATHS ;
BLOCK ASYNCPATHS ;
SYSCONFIG MCCLK_FREQ=38.8 CONFIG_IOVOLTAGE=3.3 ; #BACKGROUND_RECONFIG=ON
BANK 0 VCCIO 2.5 V;
BANK 1 VCCIO 2.5 V;
BANK 2 VCCIO 2.5 V;
BANK 3 VCCIO 2.5 V;
BANK 4 VCCIO 3.3 V;
BANK 6 VCCIO 2.5 V;
BANK 7 VCCIO 2.5 V;
BANK 8 VCCIO 3.3 V;
#################################################################
# Clock I/O
#################################################################
LOCATE COMP "CLK_125" SITE "AD1"; #was "OSC_CORE_125"
LOCATE COMP "CLK_200" SITE "AD32"; #was "OSC_CORE_200"
LOCATE COMP "CLK_EXT" SITE "C28"; #was "EXT_CLOCK"
DEFINE PORT GROUP "CLK_group" "CLK*" ;
IOBUF GROUP "CLK_group" IO_TYPE=LVDS DIFFRESISTOR=100;
# LOCATE COMP "ENPIRION_CLOCK" SITE "AM31";
# IOBUF PORT "ENPIRION_CLOCK" IO_TYPE=LVTTL33;
#################################################################
# Trigger I/O
#################################################################
LOCATE COMP "TRIG_IN_BACKPL" SITE "AD3";
LOCATE COMP "TRIG_IN_RJ45" SITE "AC2";
DEFINE PORT GROUP "TRIG_IN_group" "TRIG_IN*" ;
IOBUF GROUP "TRIG_IN_group" IO_TYPE=LVDS DIFFRESISTOR=100;
LOCATE COMP "SPARE_0" SITE "AC3";
LOCATE COMP "SPARE_1" SITE "AB1";
DEFINE PORT GROUP "SPARE_group" "SPARE*" ;
IOBUF GROUP "SPARE_group" IO_TYPE=LVDS ;
#################################################################
# SFP
#################################################################
LOCATE COMP "SFP_TX_DIS" SITE "AH28";
LOCATE COMP "SFP_LOS" SITE "AK29";
LOCATE COMP "SFP_MOD_0" SITE "AG28";
IOBUF PORT "SFP_TX_DIS" IO_TYPE=LVTTL33 PULLMODE=NONE ;
IOBUF PORT "SFP_LOS" IO_TYPE=LVTTL33 PULLMODE=NONE ;
IOBUF PORT "SFP_MOD_0" IO_TYPE=LVTTL33 PULLMODE=NONE ;
# LOCATE COMP "SFP_RATE_SEL" SITE "AG30";
# LOCATE COMP "SFP_TX_FAULT" SITE "AH30";
# LOCATE COMP "SFP_MOD_1" SITE "AG29";
# LOCATE COMP "SFP_MOD_2" SITE "AJ28";
#################################################################
# Frontend
#################################################################
LOCATE COMP "CS_1" SITE "A18"; #"FE_GPIO_0"
LOCATE COMP "CS_2" SITE "C18"; #"FE_GPIO_1"
LOCATE COMP "MISO_1" SITE "D18"; #"FE_GPIO_2"
LOCATE COMP "MISO_2" SITE "F18"; #"FE_GPIO_3"
LOCATE COMP "CS_3" SITE "A19"; #"FE_GPIO_4"
LOCATE COMP "CS_4" SITE "B19"; #"FE_GPIO_5"
LOCATE COMP "MISO_3" SITE "C19"; #"FE_GPIO_6"
LOCATE COMP "MISO_4" SITE "D19"; #"FE_GPIO_7"
DEFINE PORT GROUP "MISO_group" "MISO*" ;
IOBUF GROUP "MISO_group" IO_TYPE=LVTTL33;
DEFINE PORT GROUP "CS_group" "CS*" ;
IOBUF GROUP "CS_group" IO_TYPE=LVCMOS25;
LOCATE COMP "SFP_ADD_LOS" SITE "E19"; #"FE_GPIO_8"
LOCATE COMP "SFP_ADD_MOD0" SITE "F19"; #"FE_GPIO_9"
LOCATE COMP "SFP_ADD_TX_DIS" SITE "A20"; #"FE_GPIO_10"
LOCATE COMP "SFP_ADD_LED" SITE "C20"; #"FE_GPIO_11"
IOBUF PORT "SFP_ADD_LOS" IO_TYPE=LVTTL33 PULLMODE=NONE ;
IOBUF PORT "SFP_ADD_TX_DIS" IO_TYPE=LVCMOS25 ;
IOBUF PORT "SFP_ADD_MOD0" IO_TYPE=LVTTL33 PULLMODE=NONE ;
IOBUF PORT "SFP_ADD_LED" IO_TYPE=LVCMOS25 ;
# DEFINE PORT GROUP "FE_GPIO_group" "FE_GPIO*" ;
# IOBUF GROUP "FE_GPIO_group" IO_TYPE=LVCMOS25 PULLMODE=UP;
LOCATE COMP "SCK" SITE "C5";#"FE_CLK_1"
LOCATE COMP "MOSI" SITE "P5";#"FE_CLK_2"
IOBUF PORT "SCK" IO_TYPE=LVDS ;
IOBUF PORT "MOSI" IO_TYPE=LVDS ;
# DEFINE PORT GROUP "FE_CLK_group" "FE_CLK*" ;
# IOBUF GROUP "FE_CLK_group" IO_TYPE=LVDS DIFFRESISTOR=100;
LOCATE COMP "INP_24" SITE "R29";
LOCATE COMP "INP_25" SITE "T29";
LOCATE COMP "INP_26" SITE "P31";
LOCATE COMP "INP_27" SITE "R30";
LOCATE COMP "INP_28" SITE "N32";
LOCATE COMP "INP_29" SITE "U31";
LOCATE COMP "INP_30" SITE "R32";
LOCATE COMP "INP_31" SITE "W30";
#LOCATE COMP "FE_DIFF_8" SITE "T32";
#LOCATE COMP "FE_DIFF_9" SITE "V32";
#LOCATE COMP "FE_DIFF_10" SITE "Y26";
#LOCATE COMP "FE_DIFF_11" SITE "Y28";
#LOCATE COMP "FE_DIFF_12" SITE "Y29";
#LOCATE COMP "FE_DIFF_13" SITE "AB26";
#LOCATE COMP "FE_DIFF_14" SITE "AB28";
#LOCATE COMP "FE_DIFF_15" SITE "AC26";
LOCATE COMP "INP_16" SITE "D29";
LOCATE COMP "INP_17" SITE "F29";
LOCATE COMP "INP_18" SITE "B32";
LOCATE COMP "INP_19" SITE "D30";
LOCATE COMP "INP_20" SITE "F30";
LOCATE COMP "INP_21" SITE "C32";
LOCATE COMP "INP_22" SITE "F31";
LOCATE COMP "INP_23" SITE "F32";
#LOCATE COMP "FE_DIFF_24" SITE "H31";
#LOCATE COMP "FE_DIFF_25" SITE "J30";
#LOCATE COMP "FE_DIFF_26" SITE "K31";
#LOCATE COMP "FE_DIFF_27" SITE "K32";
#LOCATE COMP "FE_DIFF_28" SITE "L31";
#LOCATE COMP "FE_DIFF_29" SITE "J29";
#LOCATE COMP "FE_DIFF_30" SITE "H27";
#LOCATE COMP "FE_DIFF_31" SITE "K27";
LOCATE COMP "INP_0" SITE "D4";
LOCATE COMP "INP_1" SITE "F4";
LOCATE COMP "INP_2" SITE "B1";
LOCATE COMP "INP_3" SITE "D3";
LOCATE COMP "INP_4" SITE "F3";
LOCATE COMP "INP_5" SITE "C1";
LOCATE COMP "INP_6" SITE "F2";
LOCATE COMP "INP_7" SITE "F1";
#LOCATE COMP "FE_DIFF_40" SITE "H2";
#LOCATE COMP "FE_DIFF_41" SITE "J3";
#LOCATE COMP "FE_DIFF_42" SITE "K2";
#LOCATE COMP "FE_DIFF_43" SITE "K1";
#LOCATE COMP "FE_DIFF_44" SITE "L2";
#LOCATE COMP "FE_DIFF_45" SITE "J4";
#LOCATE COMP "FE_DIFF_46" SITE "H6";
#LOCATE COMP "FE_DIFF_47" SITE "K6";
LOCATE COMP "INP_8" SITE "R4";
LOCATE COMP "INP_9" SITE "T4";
LOCATE COMP "INP_10" SITE "P2";
LOCATE COMP "INP_11" SITE "R3";
LOCATE COMP "INP_12" SITE "N1";
LOCATE COMP "INP_13" SITE "U2";
LOCATE COMP "INP_14" SITE "R1";
LOCATE COMP "INP_15" SITE "W3";
#LOCATE COMP "FE_DIFF_56" SITE "T1";
#LOCATE COMP "FE_DIFF_57" SITE "V1";
#LOCATE COMP "FE_DIFF_58" SITE "Y7";
#LOCATE COMP "FE_DIFF_59" SITE "Y5";
#LOCATE COMP "FE_DIFF_60" SITE "Y4";
#LOCATE COMP "FE_DIFF_61" SITE "AB7";
#LOCATE COMP "FE_DIFF_62" SITE "AB5";
#LOCATE COMP "FE_DIFF_63" SITE "AC7";
DEFINE PORT GROUP "INP_group" "INP*" ;
IOBUF GROUP "INP_group" IO_TYPE=LVDS DIFFRESISTOR=100;
#DEFINE PORT GROUP "FE_DIFF_group" "FE_DIFF*" ;