dtp

Integrate JTAG, debug STAPs, and the cross-trigger network.

Instantiate jtag_intf_unit, which holds the primary TAP, optional boundary-scan and STAP paths, JTAG2AXI debug ports and IC_RESET TDR slices, and cross_trigger_network, which holds the cross-trigger matrix with CTP pad connections and the AXI-Lite CSRs. dbg_disable_i applies per-TAP debug/test disables from the SEP lifecycle controller. Unused STAP or scan ports must be tied off or looped back as noted on each port.

Parameters

Table 1. Parameters
NameTypeDefaultDescription
JTAG_BSR_ENABLEbit1Enable all mandatory JTAG boundary-scan instructions.
JTAG_EXTEST_TRAIN_ENABLEbit1Enable optional JTAG EXTEST_TRAIN instruction.
JTAG_EXTEST_PULSE_ENABLEbit1Enable optional JTAG EXTEST_PULSE instruction.
JTAG_INTEST_ENABLEbit1Enable optional JTAG INTEST instruction.
JTAG_CLAMP_ENABLEbit1Enable optional JTAG CLAMP instruction.
JTAG_HIGHZ_ENABLEbit1Enable optional JTAG HIGHZ instruction.
JTAG_RUNBIST_ENABLEbit1Enable optional JTAG RUNBIST instruction.
JTAG_TMP_ENABLEbit1Enable TMP controller functionality and instructions.
JTAG_IC_RESET_SMC_ENABLEbit1Enable the SMC slice of the IC_RESET TDR.
JTAG_IC_RESET_EXT_ENABLEbit1Enable the external slice of the IC_RESET TDR.
JTAG_SMC_DBG_ENABLEbit1Enable optional JTAG2AXI ports for the SMC debug interface.
JTAG_STAP_IO_ENABLEbit1Enable the STAP for chiplet-to-chiplet connectivity.
JTAG_IC_RESET_SEP_ENABLEint unsigned1Bit 0 enables the SEP slice of the IC_RESET TDR. int unsigned so SpyGlass elaborate -param can override it; in smu it follows CFG.SEP.
JTAG_SEP_DBG_ENABLEint unsigned1Bit 0 enables the SEP debug STAP and the JTAG2AXI bridge to the SEP OTP. int unsigned so SpyGlass elaborate -param can override it; in smu it follows CFG.SEP.
JTAG_NUM_EXTRA_STAPSint unsigned1Number of additional STAPs for local connectivity.
JTAG_IDCODE_MFR_IDlogic [10:0]11'h000JTAG IDCODE manufacturer ID.
JTAG_IDCODE_PART_NUMlogic [15:0]16'h0000JTAG IDCODE part number.
JTAG_IDCODE_SI_REVlogic [3:0]4'h0JTAG IDCODE silicon revision.
JTAG_OCH_VERlogic [7:0]8'h00DTP IP major version number reported in JTAG_CAPS.
JtagNumExtraStapPortsint unsigned(JTAG_NUM_EXTRA_STAPS > 0) ? JTAG_NUM_EXTRA_STAPS : 1Extra STAP port count; at least one for tie-off.
XTRIG_NUM_CTPint unsigneddtp_pkg::DefaultNumCtpNumber of external cross-trigger ports.
XTRIG_NUM_INT_CTint unsigneddtp_pkg::DefaultNumIntCtNumber of internal cross-trigger interfaces.
XTRIG_NUM_CLK_STOP_REQint unsigneddtp_pkg::DefaultNumClkStopReqNumber of clock-stop request inputs.
XTRIG_INT_CT_MODElogic [XTRIG_NUM_INT_CT-1:0]'0Per-lane CTM protocol: 0 = pulse sync (ack unused), 1 = req/ack handshake.
SMC_OTP_RD_PL_DEPTHlogic [1:0]2'h3SMC OTP read pipeline depth; 0 = single outstanding.
SMC_OTP_WR_PL_DEPTHlogic [1:0]2'h3SMC OTP write pipeline depth; 0 = single outstanding.
SEP_OTP_RD_PL_DEPTHlogic [1:0]2'h3SEP OTP read pipeline depth; 0 = single outstanding.
SEP_OTP_WR_PL_DEPTHlogic [1:0]2'h3SEP OTP write pipeline depth; 0 = single outstanding.
SMC_RD_PL_DEPTHlogic [1:0]2'h3SMC fabric read pipeline depth; 0 = single outstanding.
SMC_WR_PL_DEPTHlogic [1:0]2'h3SMC fabric write pipeline depth; 0 = single outstanding.

Ports

Table 2. Ports
NameDirectionTypeDescription
clk_iinputlogicSystem clock for non-JTAG logic.
rst_n_iinputlogicActive-low reset for non-JTAG logic.
pwr_on_rst_niinputlogicPower-on reset for JTAG logic, active-low.
dbg_disable_iinputsep_lifecycle_ctrl_pkg::dbg_disable_tPer-TAP debug/test disables from SEP lifecycle; active-high, synchronized to TCK inside.
jtag_ptap_client_tap_ctrl_iinputjtag_tap_ctrl_tPrimary JTAG TAP control.
jtag_ptap_client_tdi_iinputlogicPrimary JTAG TAP TDI.
jtag_ptap_client_tdo_ooutputlogicPrimary JTAG TAP TDO.
jtag_ptap_client_tdo_oen_ooutputlogicPrimary JTAG TAP TDO output enable.
jtag_bsr_host_scan_ctrl_ooutputjtag_scan_ctrl_tBoundary-scan host scan control Tie scan in to scan out if JTAG_BSR_ENABLE is clear.
jtag_bsr_host_scan_in_iinputlogicBoundary-scan chain input.
jtag_bsr_host_scan_out_ooutputlogicBoundary-scan chain output.
jtag_stap_io_host_tap_ctrl_ooutputjtag_tap_ctrl_tI/O STAP host TAP control (chiplet-to-chiplet) Tie off with 0 if JTAG_STAP_IO_ENABLE is not enabled.
jtag_stap_io_host_tdi_iinputlogicI/O STAP TDI.
jtag_stap_io_host_tdo_ooutputlogicI/O STAP TDO.
jtag_stap_io_host_tdo_oen_ooutputlogicI/O STAP TDO output enable.
jtag_stap_smc_host_tap_ctrl_ooutputjtag_tap_ctrl_tSMC debug STAP host TAP control Tie off with 0 if JTAG_SMC_DBG_ENABLE is not enabled.
jtag_stap_smc_host_tdi_iinputlogicSMC debug STAP TDI.
jtag_stap_smc_host_tdo_ooutputlogicSMC debug STAP TDO.
jtag_stap_smc_host_tdo_oen_ooutputlogicSMC debug STAP TDO output enable.
jtag_stap_sep_host_tap_ctrl_ooutputjtag_tap_ctrl_tSEP debug STAP host TAP control Tie off with 0 if JTAG_SEP_DBG_ENABLE is not enabled.
jtag_stap_sep_host_tdi_iinputlogicSEP debug STAP TDI.
jtag_stap_sep_host_tdo_ooutputlogicSEP debug STAP TDO.
jtag_stap_sep_host_tdo_oen_ooutputlogicSEP debug STAP TDO output enable.
jtag_stap_extra_host_tap_ctrl_ooutputjtag_tap_ctrl_tExtra STAP host TAP controls Tie off with 0 if JTAG_NUM_EXTRA_STAPS == 0.
jtag_stap_extra_host_tdi_iinputlogicExtra STAP TDI bits.
jtag_stap_extra_host_tdo_ooutputlogicExtra STAP TDO bits.
jtag_stap_extra_host_tdo_oen_ooutputlogicExtra STAP TDO output enables.
jtag_stap_host_scan_ctrl_ooutputjtag_scan_ctrl_tExtended STAP scan control Tie scan in to scan out if unused.
jtag_stap_host_scan_in_iinputlogicExtended STAP scan input.
jtag_stap_host_scan_out_ooutputlogicExtended STAP scan output.
jtag_dfd_host_scan_ctrl_ooutputjtag_scan_ctrl_tExternal DFD iJTAG scan control Tie scan in to scan out if unused.
jtag_dfd_host_scan_in_iinputlogicDFD iJTAG scan input.
jtag_dfd_host_scan_out_ooutputlogicDFD iJTAG scan output.
jtag_dft_secure_host_scan_ctrl_ooutputjtag_scan_ctrl_tSecure DFT iJTAG scan control Tie scan in to scan out if unused.
jtag_dft_secure_host_scan_in_iinputlogicSecure DFT iJTAG scan input.
jtag_dft_secure_host_scan_out_ooutputlogicSecure DFT iJTAG scan output.
jtag_dft_host_scan_ctrl_ooutputjtag_scan_ctrl_tNon-secure DFT iJTAG scan control Tie scan in to scan out if unused.
jtag_dft_host_scan_in_iinputlogicNon-secure DFT iJTAG scan input.
jtag_dft_host_scan_out_ooutputlogicNon-secure DFT iJTAG scan output.
axi_smc_dbg_req_ooutputsmc_jtag_axi_req_tSMC fabric debug AXI manager request Tie off with 0 if JTAG_SMC_DBG_ENABLE is not enabled.
axi_smc_dbg_resp_iinputsmc_jtag_axi_resp_tSMC fabric debug AXI manager response.
axil_smc_otp_jtag_req_ooutputsmc_otp_axil_req_tSMC OTP debug AXI-Lite manager request Tie off with 0 if JTAG_SMC_DBG_ENABLE is not enabled.
axil_smc_otp_jtag_resp_iinputsmc_otp_axil_resp_tSMC OTP debug AXI-Lite manager response.
axil_sep_otp_jtag_req_ooutputsep_otp_axil_req_tSEP OTP debug AXI-Lite manager request Tie off with 0 if JTAG_SEP_DBG_ENABLE is not enabled.
axil_sep_otp_jtag_resp_iinputsep_otp_axil_resp_tSEP OTP debug AXI-Lite manager response.
stop_clks_ooutputlogicRegistered OR of the DEBUG_CONTROL clock stop and xtrig_clk_stop_req_i.
cla_clock_stop_en_ooutputlogicCLA clock-stop enable from DEBUG_CONTROL.
jtag_boot_stall_ovrd_ooutputlogicGive the JTAG interface control over boot stall.
jtag_boot_stall_ooutputlogicCause a boot stall when jtag_boot_stall_ovrd_o is asserted.
jtag_ic_reset_smc_ooutputic_reset_smc_tSMC IC_RESET TDR slice (closest to TDI).
jtag_ic_reset_sep_ooutputic_reset_sep_tSEP IC_RESET TDR slice (middle of the TDR).
jtag_ic_reset_ext_ooutputic_reset_ext_tExternal IC_RESET TDR slice (closest to TDO).
jtag_ptap_state_ooutputtap_state_eCurrent primary TAP FSM state.
jtag_ptap_inst_decoded_ooutputjtag_instruction_decoded_eCurrent primary TAP instruction (decoded).
axil_xtrig_req_iinputxtrig_axil_req_tCross-trigger CSR AXI-Lite subordinate request.
axil_xtrig_resp_ooutputxtrig_axil_resp_tCross-trigger CSR AXI-Lite subordinate response.
xtrig_ctm_src_req_ooutputlogic [XTRIG_NUM_INT_CT-1:0]CTM source requests toward sinks (e.g. CLA) Ack unused when the corresponding mode bit is 0 (pulse sync).
xtrig_ctm_src_ack_iinputlogic [XTRIG_NUM_INT_CT-1:0]Acks for CTM-sourced requests Unused in pulse-synchronization mode.
xtrig_ctm_dst_req_iinputlogic [XTRIG_NUM_INT_CT-1:0]CTM destination requests from sources (e.g. CLA).
xtrig_ctm_dst_ack_ooutputlogic [XTRIG_NUM_INT_CT-1:0]Acks for CTM-destined requests Unused in pulse-synchronization mode.
xtrig_clk_stop_req_iinputlogic [XTRIG_NUM_CLK_STOP_REQ-1:0]CLA or other device requests to stop the clocks.
xtrig_ctp_req_out_dout_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP req-out pad data; connect to the GPIO pad ring.
xtrig_ctp_req_out_dout_en_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP req-out pad output enable.
xtrig_ctp_req_out_din_iinputlogic [XTRIG_NUM_CTP-1:0]CTP req-out pad input.
xtrig_ctp_req_out_din_en_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP req-out pad input enable.
xtrig_ctp_req_in_dout_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP req-in pad data.
xtrig_ctp_req_in_dout_en_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP req-in pad output enable.
xtrig_ctp_req_in_din_iinputlogic [XTRIG_NUM_CTP-1:0]CTP req-in pad input.
xtrig_ctp_req_in_din_en_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP req-in pad input enable.
xtrig_ctp_ack_in_dout_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP ack-in pad data.
xtrig_ctp_ack_in_dout_en_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP ack-in pad output enable.
xtrig_ctp_ack_in_din_iinputlogic [XTRIG_NUM_CTP-1:0]CTP ack-in pad input.
xtrig_ctp_ack_in_din_en_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP ack-in pad input enable.
xtrig_ctp_ack_out_dout_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP ack-out pad data.
xtrig_ctp_ack_out_dout_en_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP ack-out pad output enable.
xtrig_ctp_ack_out_din_iinputlogic [XTRIG_NUM_CTP-1:0]CTP ack-out pad input.
xtrig_ctp_ack_out_din_en_ooutputlogic [XTRIG_NUM_CTP-1:0]CTP ack-out pad input enable.
test_en_iinputlogicDFT test-mode enable, active-high, for the JTAG2AXI bridges and the CTN CSR crossbar.
scan_rst_niinputlogicDFT scan reset, active-low; unused. DTP has no reset synchronizer, so rst_n_i must arrive scan-controlled.