#==============================================================================# # Pin constraints of Spartan-II Demo Board made by Insight # #==============================================================================# #==============================================================================# # Clock & Reset # #==============================================================================# # I have measured clock frequency 40.38 MHz # Oscilator chip DS1073 is shipped from the factory configured for half the # maximum operating frequency. And can be reconfigured using 1-wire protocol in # the range of approximately 30kHz to 1000MHz. NET "clk" LOC = "P80" | PERIOD = 24 ns; NET "reset" LOC = "P206"; #==============================================================================# # LCD display # #==============================================================================# NET "lcd_com" LOC = "P174"; NET "lcd2<0>" LOC = "P168"; NET "lcd2<1>" LOC = "P166"; NET "lcd2<2>" LOC = "P165"; NET "lcd2<3>" LOC = "P163"; NET "lcd2<4>" LOC = "P162"; NET "lcd2<5>" LOC = "P172"; NET "lcd2<6>" LOC = "P173"; NET "lcd2_dp" LOC = "P161"; NET "lcd1<0>" LOC = "P187"; NET "lcd1<1>" LOC = "P181"; NET "lcd1<2>" LOC = "P180"; NET "lcd1<3>" LOC = "P179"; NET "lcd1<4>" LOC = "P176"; NET "lcd1<5>" LOC = "P188"; NET "lcd1<6>" LOC = "P191"; NET "lcd1_dp" LOC = "P175"; #==============================================================================# # RS-232 communication port # #==============================================================================# # TXD is input to the board. # RXD is output from the board. NET "txd" LOC = "P193"; NET "rxd" LOC = "P194"; #==============================================================================# # LEDs # #==============================================================================# # All LEDs are low active. NET "led4" LOC = "P195"; NET "led5" LOC = "P199"; NET "led6" LOC = "P201"; #==============================================================================# # DIP switches # #==============================================================================# # All switches are low active. NET "sw1" LOC = "P202"; NET "sw2" LOC = "P204"; NET "sw3" LOC = "P205"; NET "sw4" LOC = "P206"; #==============================================================================# # Other connected devices # #==============================================================================# #Rotary encoder connect to the header JP1. # rot_feed - JP1.1 - log. 1 "feeding" quadratic encoder # rot_A - JP1.3 # rot_B - JP1.5 # rot_press - JPJ.7 - quadratic encoder has also function of button NET "rot_feed" LOC = "P3"; NET "rot_A" LOC = "P5" | PULLDOWN; NET "rot_B" LOC = "P7" | PULLDOWN; NET "rot_press" LOC = "P9" | PULLDOWN;