reduced complexity of JTAG code