NET "sys_clk" TNM_NET = "sys_clk";
TIMESPEC "TS_sys_clk" = PERIOD "sys_clk" 100 MHz HIGH 50 %;
NET "tx" LOC = "A7";
NET "rx" LOC = "B7";
NET "sys_clk" LOC = "B11";
NET "sys_reset" LOC = "B4";

## For GPIO connections

# NET  leds<0>     LOC = D9;
# NET  leds<1>     LOC = C9;
# NET  leds<2>     LOC = F11;
# NET  leds<3>     LOC = F9;

# for led connections - segments A,B,C,D,E,F,G
NET leds<0> LOC = D9;
NET leds<1> LOC = C9;
NET leds<2> LOC = F11;
NET leds<3> LOC = F9;
NET leds<4> LOC = F10;
NET leds<5> LOC = D10;
NET leds<6> LOC = C10;
# flash_sram_addr<29:7> is connected to A[0:22] of memory module
NET "flash_sram_addr<29>" LOC = "W8";
NET "flash_sram_addr<28>" LOC = "AB6";
NET "flash_sram_addr<27>" LOC = "V8";
NET "flash_sram_addr<26>" LOC = "W7";
NET "flash_sram_addr<25>" LOC = "V9";
NET "flash_sram_addr<24>" LOC = "AA6";
NET "flash_sram_addr<23>" LOC = "V7";
NET "flash_sram_addr<22>" LOC = "AB5";
NET "flash_sram_addr<21>" LOC = "AB18";
NET "flash_sram_addr<20>" LOC = "AA17";
NET "flash_sram_addr<19>" LOC = "Y14";
NET "flash_sram_addr<18>" LOC = "Y15";
NET "flash_sram_addr<17>" LOC = "AB16";
NET "flash_sram_addr<16>" LOC = "AB17";
NET "flash_sram_addr<15>" LOC = "AB15";
NET "flash_sram_addr<14>" LOC = "W14";
NET "flash_sram_addr<13>" LOC = "W13";
NET "flash_sram_addr<12>" LOC = "Y7";
NET "flash_sram_addr<11>" LOC = "Y6";
NET "flash_sram_addr<10>" LOC = "AA16";
NET "flash_sram_addr<9>" LOC = "W6";
NET "flash_sram_addr<8>" LOC = "AA15";
NET "flash_sram_addr<7>" LOC = "W17";
# flash_sram_data<31:0> is connected to D[0:31] of memory module
NET "flash_sram_data<31>" LOC = "AA12";
NET "flash_sram_data<30>" LOC = "U14";
NET "flash_sram_data<29>" LOC = "W15";
NET "flash_sram_data<28>" LOC = "Y12";
NET "flash_sram_data<27>" LOC = "Y16";
NET "flash_sram_data<26>" LOC = "AA13";
NET "flash_sram_data<25>" LOC = "Y17";
NET "flash_sram_data<24>" LOC = "W16";
NET "flash_sram_data<23>" LOC = "V12";
NET "flash_sram_data<22>" LOC = "AB13";
NET "flash_sram_data<21>" LOC = "W12";
NET "flash_sram_data<20>" LOC = "V16";
NET "flash_sram_data<19>" LOC = "AB14";
NET "flash_sram_data<18>" LOC = "Y13";
NET "flash_sram_data<17>" LOC = "V13";
NET "flash_sram_data<16>" LOC = "AA14";
NET "flash_sram_data<15>" LOC = "Y8";
NET "flash_sram_data<14>" LOC = "AA7";
NET "flash_sram_data<13>" LOC = "W9";
NET "flash_sram_data<12>" LOC = "U11";
NET "flash_sram_data<11>" LOC = "Y9";
NET "flash_sram_data<10>" LOC = "AB8";
NET "flash_sram_data<9>" LOC = "AB9";
NET "flash_sram_data<8>" LOC = "U13";
NET "flash_sram_data<7>" LOC = "AB7";
NET "flash_sram_data<6>" LOC = "U9";
NET "flash_sram_data<5>" LOC = "U10";
NET "flash_sram_data<4>" LOC = "AA8";
NET "flash_sram_data<3>" LOC = "U12";
NET "flash_sram_data<2>" LOC = "AA9";
NET "flash_sram_data<1>" LOC = "W10";
NET "flash_sram_data<0>" LOC = "Y10";
# NET "sram_cen<0>" LOC = "AB12";
NET "flash_sram_csn<0>" LOC = "AB12";
NET "flash_sram_wen" LOC = "AA5";
NET "flash_sram_oen" LOC = "V14";
NET "flash_sram_ben<0>" LOC = "G19";
NET "flash_sram_ben<1>" LOC = "H20";
NET "flash_sram_ben<2>" LOC = "G20";
NET "flash_sram_ben<3>" LOC = "H19";
NET "sram_rst" LOC = "E18";
# NET "sram_cefn" LOC = "V10";
NET "flash_sram_csn<1>" LOC = "V10";
