jtag_add_dr_scan() function
Generate a DR SCAN using the fields passed to the function. For connected TAPs, the function checks in_fields and uses fields specified there. For bypassed TAPs, the function generates a dummy 1-bit field. The bypass status of TAPs is set by jtag_add_ir_scan().