ublast_clock_tdi() function
ublast_clock_tdi - Output a TDI with bitbang mode Output a TDI bit and assert clock to push it into the JTAG device : - writing out TCK=0, TMS=\=0, TDI=\ - writing out TCK=1, TMS=\, TDI=\ which triggers the JTAG device acquiring the data. If a TDO is to be read back, the required read is requested (bitbang mode), and the USB Blaster will send back a byte with bit0 representing the TDO.
Arguments
tdi
the TDI bit to be shifted out
type
scan type (ie. does a readback of TDO is required)