Analog Devices Interview Question

What do you know about JTAG? Verilog code of 4 to 2 encoder.