CDL Modules
Files
jtag_apb

Files

file  jtag_apb.cdl
 JTAG tap client to APB master module.
 

Detailed Description

Modules

module jtag_apb::jtag_apb ( clock  jtag_tck,
input bit  reset_n,
input bit  ir[5],
input t_jtag_action  dr_action,
input  bitdr_in[50],
output  bitdr_tdi_mask[50],
output  bitdr_out[50],
clock  apb_clock,
output t_apb_request  apb_request,
input t_apb_response  apb_response 
)

JTAG client module that presents an APB master interface

Parameters
[in]jtag_tckJTAG TCK signal, used as a clock
[in]reset_nReset that drives all the logic
[in]irJTAG IR which is to be matched against t_jtag_addr
[in]dr_actionAction to perform with DR (capture or update, else ignore)
[in]bitdr_inData register in; used in update, replaced by dr_out in capture, shift
[out]bitdr_tdi_maskOne-hot mask indicating which DR bit TDI should replace (depends on IR)
[out]bitdr_outData register out; same as data register in, except during capture when it is replaced by correct data dependent on IR, or shift when it goes right by one
[in]apb_clockAPB clock signal, asynchronous to JTAG TCK
[out]apb_requestAPB request out
[in]apb_responseAPB response