CDL Modules
Files
jtag_tap

Files

file  jtag_tap.cdl
 JTAG tap controller module.
 

Detailed Description

Modules

module jtag_tap::jtag_tap ( clock  jtag_tck,
input bit  reset_n,
input t_jtag  jtag,
output bit  tdo,
output bit  ir[ir_length],
output t_jtag_action  dr_action,
output bit  dr_in[dr_length],
input bit  dr_tdi_mask[dr_length],
input bit  dr_out[dr_length] 
)

JTAG TAP controller module that basically implements the JTAG state machine, holds an IR, and interacts with a client to capture and update data.

Parameters
[in]jtag_tckJTAG TCK
[in]reset_nReste for all the logic
[in]jtagJTAG inputs
[out]tdoJTAG TDO pin
[out]irIR register to be used by client
[out]dr_actionDR action (capture, update, shift, or none)
[out]dr_inDR to be fed to client
[in]dr_tdi_maskOne-hot mask indicating where TDI should be inserted (based on DR length, based on IR)
[in]dr_outDR from client (from client data if capture, shifted if shift)