We are currently building a board at work that will have connectors for X number of boards (that is between 0 and the number of connectors on the board) which will have FPGAs on them. We are looking at using different types of FPGAs for price reasons on different boards (make some boards cheaper than others etc). My task is to provide an in circuit FPGA configuration mechanism (we're looking at using Xilinx mostly for now) using JTAG. I have the code which successfully goes out and determines the number of devices in the scan chain, but am having difficulty determining how to detect the size of the instruction register for each device. Can someone point me to some code?
Thanks,
slide