|
|
##########################################################################
|
|
|
# Target Board: Xilinx Spartan6 SP601 Board ##
|
|
|
##########################################################################
|
|
|
|
|
|
# ==== Clock inputs (USER CLK 27 MHz) ====
|
|
|
NET "clk" LOC = "V10";
|
|
|
NET "clk" PERIOD = 37ns HIGH 50%;
|
|
|
|
|
|
# ==== Pushbuttons ====
|
|
|
NET reset LOC = "N4";
|
|
|
NET "BP(0)" LOC = "P4";
|
|
|
NET "BP(1)" LOC = "F6";
|
|
|
NET "BP(2)" LOC = "E4";
|
|
|
NET "BP(3)" LOC = "F5";
|
|
|
|
|
|
# ==== Discrete LEDs ====
|
|
|
NET led(0) LOC = "E13";
|
|
|
NET led(1) LOC = "C14";
|
|
|
NET led(2) LOC = "C4";
|
|
|
NET led(3) LOC = "A4" | IOSTANDARD = LVCMOS25;
|
|
|
|
|
|
# ==== DIP Switches ====
|
|
|
NET sw(0) LOC = "D14";
|
|
|
NET sw(1) LOC = "E12";
|
|
|
NET sw(2) LOC = "F12";
|
|
|
NET sw(3) LOC = "V13";
|
|
|
|
|
|
# ==== Rocket Interface ===
|
|
|
NET "SCLK" LOC = "C9"; #NET "FMC_LA00_CC_N" LOC = "C9";
|
|
|
NET "Gate" LOC = "D9"; #NET "FMC_LA00_CC_P" LOC = "D9";
|
|
|
NET "MinF" LOC = "C11"; #NET "FMC_LA01_CC_N" LOC = "C11";
|
|
|
NET "MajF" LOC = "D11"; #NET "FMC_LA01_CC_P" LOC = "D11";
|
|
|
NET "Data" LOC = "A15"; #NET "FMC_LA02_N" LOC = "A15";
|
|
|
|
|
|
# === AMR ADC ===
|
|
|
NET "DC_ADC_Sclk" LOC = "C15"; #NET "FMC_LA02_P" LOC = "C15";
|
|
|
NET "DC_ADC_IN(0)" LOC = "A13"; #NET "FMC_LA03_N" LOC = "A13";
|
|
|
NET "DC_ADC_IN(1)" LOC = "C13"; #NET "FMC_LA03_P" LOC = "C13";
|
|
|
NET "DC_ADC_IN(2)" LOC = "A16"; #NET "FMC_LA04_N" LOC = "A16";
|
|
|
NET "DC_ADC_IN(3)" LOC = "B16"; #NET "FMC_LA04_P" LOC = "B16";
|
|
|
NET "DC_ADC_FORMAT(0)" LOC = "A14"; #NET "FMC_LA05_N" LOC = "A14";
|
|
|
NET "DC_ADC_FORMAT(1)" LOC = "B14"; #NET "FMC_LA05_P" LOC = "B14";
|
|
|
NET "DC_ADC_FORMAT(2)" LOC = "C12"; #NET "FMC_LA06_N" LOC = "C12";
|
|
|
NET "DC_ADC_Mode(0)" LOC = "D12"; #NET "FMC_LA06_P" LOC = "D12";
|
|
|
NET "DC_ADC_Mode(1)" LOC = "E8"; #NET "FMC_LA07_N" LOC = "E8";
|
|
|
NET "DC_ADC_ClkDiv" LOC = "E7"; #NET "FMC_LA07_P" LOC = "E7";
|
|
|
NET "DC_ADC_PWDOWN(0)" LOC = "E11"; #NET "FMC_LA08_N" LOC = "E11";
|
|
|
NET "DC_ADC_PWDOWN(1)" LOC = "F11"; #NET "FMC_LA08_P" LOC = "F11";
|
|
|
NET "DC_ADC_PWDOWN(2)" LOC = "F10"; #NET "FMC_LA09_N" LOC = "F10";
|
|
|
NET "DC_ADC_PWDOWN(3)" LOC = "G11"; #NET "FMC_LA09_P" LOC = "G11";
|
|
|
NET "DC_ADC_FSynch" LOC = "C8"; #NET "FMC_LA10_N" LOC = "C8";
|
|
|
NET "DC_ADC_Synch" LOC = "D8"; #NET "FMC_LA10_P" LOC = "D8";
|
|
|
|
|
|
|
|
|
# === Search-Coil ADC
|
|
|
NET "LF_ADC_Sclk" LOC = "A12"; #NET "FMC_LA11_N" LOC = "A12";
|
|
|
NET "LF_ADC_IN(0)" LOC = "B12"; #NET "FMC_LA11_P" LOC = "B12";
|
|
|
NET "LF_ADC_IN(1)" LOC = "C6"; #NET "FMC_LA12_N" LOC = "C6";
|
|
|
NET "LF_ADC_IN(2)" LOC = "D6"; #NET "FMC_LA12_P" LOC = "D6";
|
|
|
NET "LF_ADC_IN(3)" LOC = "A11"; #NET "FMC_LA13_N" LOC = "A11";
|
|
|
NET "LF_ADC_FORMAT(0)" LOC = "B11"; #NET "FMC_LA13_P" LOC = "B11";
|
|
|
NET "LF_ADC_FORMAT(1)" LOC = "A2"; #NET "FMC_LA14_N" LOC = "A2";
|
|
|
NET "LF_ADC_FORMAT(2)" LOC = "B2"; #NET "FMC_LA14_P" LOC = "B2";
|
|
|
NET "LF_ADC_Mode(0)" LOC = "F9"; #NET "FMC_LA15_N" LOC = "F9";
|
|
|
NET "LF_ADC_Mode(1)" LOC = "G9"; #NET "FMC_LA15_P" LOC = "G9";
|
|
|
NET "LF_ADC_ClkDiv" LOC = "T8"; #NET "FMC_LA17_CC_N" LOC = "T8";
|
|
|
NET "LF_ADC_PWDOWN(0)" LOC = "R8"; #NET "FMC_LA17_CC_P" LOC = "R8";
|
|
|
NET "LF_ADC_PWDOWN(1)" LOC = "T10"; #NET "FMC_LA18_CC_N" LOC = "T10";
|
|
|
NET "LF_ADC_PWDOWN(2)" LOC = "R10"; #NET "FMC_LA18_CC_P" LOC = "R10";
|
|
|
NET "LF_ADC_PWDOWN(3)" LOC = "P7"; #NET "FMC_LA19_N" LOC = "P7";
|
|
|
NET "LF_ADC_FSynch" LOC = "N6"; #NET "FMC_LA19_P" LOC = "N6";
|
|
|
NET "LF_ADC_Synch" LOC = "P8"; #NET "FMC_LA20_N" LOC = "P8";
|
|
|
|
|
|
NET "FMC_LA16_N" LOC = "A7";
|
|
|
NET "FMC_LA16_P" LOC = "C7";
|
|
|
NET "FMC_LA20_P" LOC = "N7";
|
|
|
NET "FMC_LA21_N" LOC = "V4";
|
|
|
NET "FMC_LA21_P" LOC = "T4";
|
|
|
NET "FMC_LA22_N" LOC = "T7";
|
|
|
NET "FMC_LA22_P" LOC = "R7";
|
|
|
NET "FMC_LA23_N" LOC = "P6";
|
|
|
NET "FMC_LA23_P" LOC = "N5";
|
|
|
NET "FMC_LA24_N" LOC = "V8";
|
|
|
NET "FMC_LA24_P" LOC = "U8";
|
|
|
NET "FMC_LA25_N" LOC = "N11";
|
|
|
NET "FMC_LA25_P" LOC = "M11";
|
|
|
NET "FMC_LA26_N" LOC = "V7";
|
|
|
NET "FMC_LA26_P" LOC = "U7";
|
|
|
NET "FMC_LA27_N" LOC = "T11";
|
|
|
NET "FMC_LA27_P" LOC = "R11";
|
|
|
NET "FMC_LA28_N" LOC = "V11";
|
|
|
NET "FMC_LA28_P" LOC = "U11";
|
|
|
NET "FMC_LA29_N" LOC = "N8";
|
|
|
NET "FMC_LA29_P" LOC = "M8";
|
|
|
NET "FMC_LA30_N" LOC = "V12";
|
|
|
NET "FMC_LA30_P" LOC = "T12";
|
|
|
NET "FMC_LA31_N" LOC = "V6";
|
|
|
NET "FMC_LA31_P" LOC = "T6";
|
|
|
NET "FMC_LA32_N" LOC = "V15";
|
|
|
NET "FMC_LA32_P" LOC = "U15";
|
|
|
NET "FMC_LA33_N" LOC = "N9";
|
|
|
NET "FMC_LA33_P" LOC = "M10";
|
|
|
|