makestuff / libfpgalink

LIB:Library for interacting with an FPGA over USB
https://github.com/makestuff/libfpgalink/wiki/FPGALink
GNU Lesser General Public License v3.0
82 stars 25 forks source link

Some target architectures XSTATE to SHIFT_*R #18

Closed makestuff closed 13 years ago

makestuff commented 13 years ago

Need to make XSTATE parameter checks a bit more lax to allow Spartan-6 XSVF files to parse

makestuff commented 13 years ago

https://github.com/makestuff/libfpgalink/commit/b66d2756b779f250e1aa45e304cf85d695d046e3

makestuff commented 13 years ago

You can't assume the TAP will be in Run-Test/Idle, and you can't assume that XSTATE will not jump more than one state. Need to keep track of what state you're in on the host (libnero) side.

makestuff commented 13 years ago

For now, I can get away with bodging it so XSTATE commands always move to Run-Test/Idle, since XSTATE commands don't ever seem to be particularly significant.

https://github.com/makestuff/libfpgalink/commit/3670ba1050183d2647f25cf263dd7482cac8afca