This JTAG TAP controller implements the IEEE 1149.1 TAP state machine with 16 states. It manages shifting, capturing, and updating instruction and data registers through TDI, TMS, and TCLK inputs. The controller supports three instructions: bypass, ID code read, and boundary scan register (BSR) mode. Internal registers store shadow instructions, ID codes, and BSR bits. The TDO output reflects the serial data shifted out of the selected register.
Apply an active-high reset through rst_n (active-low).
Drive TMS (ui_in[1]) and TDI (ui_in[0]) with JTAG vectors according to the IEEE 1149.1 TAP state diagram.
Apply a clock on clk (TCLK) to advance state transitions.
Observe uo_out[0] (TDO) for shifted data during Shift-IR or Shift-DR states.
Confirm instruction updates by verifying that IDCODE or BSR registers respond correctly when selected via the instruction register.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | TDI | TDO | |
1 | TMS | ||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 |