NET clk     LOC = "P38";
NET reset   LOC = "P30";   #WARNING change to another pin
#NET led     LOC = "P44";
#NET led     LOC = "P70";	#Pin abajo superior izquierdo
#NET led2     LOC = "P71";	#Pin superior izquierdo
#NET OD2     LOC = "P66";
#NET OD3     LOC = "P63";
#NET quadA     LOC = "P67";
#NET quadB     LOC = "P68";
#NET quadC     LOC = "P70";
#NET quadD     LOC = "P71";
NET quadA     LOC = "P36"; #PINES DE PRUEBA
NET quadB     LOC = "P35"; #PINES DE PRUEBA
NET quadC     LOC = "P34"; #PINES DE PRUEBA
NET quadD     LOC = "P33"; #PINES DE PRUEBA
#NET "hbridge<3>" LOC = "P53";
#NET "hbridge<2>" LOC = "P54";
#NET "hbridge<1>" LOC = "P49";
#NET "hbridge<0>" LOC = "P48";
NET "hbridge<3>" LOC = "P71";#PINES DE PRUEBA
NET "hbridge<2>" LOC = "P70"; #PINES DE PRUEBA
NET "hbridge<1>" LOC = "P68"; #PINES DE PRUEBA
NET "hbridge<0>" LOC = "P66"; #PINES DE PRUEBA

#ADDRESS BUS
NET "addr<12>" LOC = "P90";
NET "addr<11>" LOC = "P91";
NET "addr<10>" LOC = "P85";
NET "addr<9>" LOC = "P92";
NET "addr<8>" LOC = "P94";
NET "addr<7>" LOC = "P95";
NET "addr<6>" LOC = "P98";
NET "addr<5>" LOC = "P3";
NET "addr<4>" LOC = "P2";
NET "addr<3>" LOC = "P78";
NET "addr<2>" LOC = "P79";
NET "addr<1>" LOC = "P83";
NET "addr<0>" LOC = "P84";

#DATA BUS
NET "sram_data<7>"  LOC = "P4";
NET "sram_data<6>"  LOC = "P5";
NET "sram_data<5>"  LOC = "P9";
NET "sram_data<4>"  LOC = "P10";
NET "sram_data<3>"  LOC = "P11";
NET "sram_data<2>"  LOC = "P12";
NET "sram_data<1>"  LOC = "P15";
NET "sram_data<0>"  LOC = "P16";

#CONTROL BUS
NET "nwe"   LOC = "P88";
NET "noe"   LOC = "P86";
NET "ncs"   LOC = "P69";

#ADC
#NET "ADC_EOC"    LOC = "P17";
#NET "ADC_SCLK"   LOC = "P18"  ;
#NET "ADC_SDIN"   LOC = "P22";
#NET "ADC_SDOUT"  LOC = "P23";
#NET "ADC_CS"     LOC = "P24";
#NET "ADC_CSTART" LOC = "P26";
