- Wrapper states
13.1 Wrapper Disabled and Wrapper Enabled states The WRSTN signal can be used to force the wrapper logic into a state that enables functional operation of the core. Figure 29 and Figure 30 identify two main wrapper states: Wrapper Disabled and Wrapper Enabled, respectively. Both have substates that are entered in a sequence controlled by the WSP as defined by this standard. The wrapper is forced unconditionally to a Wrapper Disabled state when the WRSTN signal of the WSP is low. In Wrapper Disabled state, the wrapper is inactive and functional operation of the core logic can continue unhindered. Test operations are performed while the wrapper is kept in Wrapper Enabled state by a high value on the WRSTN signal.
- 包装器状态
13.1 包装器禁用和包装器启用状态
WRSTN 信号可用于强制包装器逻辑进入启用内核功能操作的状态。图 29 和图 30 分别标识了两种主要的包装器状态:包装器禁用和包装器启用。两者都有子状态,这些子状态按照本标准定义的 WSP 控制的顺序进入。当 WSP 的 WRSTN 信号为低时,包装器被无条件强制进入包装器禁用状态。在包装器禁用状态下,包装器处于非活动状态,内核逻辑的功能操作可以不受阻碍地继续进行。测试操作是在包装器通过 WRSTN 信号上的高值保持在包装器启用状态时执行的。

13.1.1 Specifications
Rules
a) Asserting logic 0 on WRSTN (WRSTN = 0) shall unconditionally force the wrapper into Wrapper
Disabled state; no actions of the wrapper logic (e.g., WIR, WBR) shall occur in response to WSP
signals and/or WPP signals other than WRSTN and/or WRCK.
b) Asserting logic 0 on WRSTN (WRSTN = 0) shall unconditionally force the WS_BYPASS instruction to become effective.
c) Asserting logic 1 on WRSTN (WRSTN = 1) shall unconditionally enable the wrapper to respond to
the WSP signals.
d) When the wrapper logic becomes enabled after being disabled, the effective instruction present in
the WIR shall be the WS_BYPASS instruction.
Recommendations
e) The protocol used to control the WRSTN signal should ensure that at least one complete WRCK
pulse is applied when WRSTN is set to logic 0 (WRSTN = 0) before WRSTN can be set to logic 1
(WRSTN = 1).
Permissions
f) The wrapper may require an active WRCK during Wrapper Disabled state (WRSTN = 0), prior to
becoming enabled by logic 1 on WRSTN (WRSTN = 1).
13.1.1 规范
规则
a) 在 WRSTN 上断言逻辑 0(WRSTN = 0)应无条件强制包装器进入包装器禁用状态;包装器逻辑(例如 WIR、WBR)的任何操作都不应响应 WSP 信号和/或 WPP 信号(WRSTN 和/或 WRCK 除外)。
b) 在 WRSTN 上断言逻辑 0(WRSTN = 0)应无条件强制 WS_BYPASS 指令生效。
c) 在 WRSTN 上断言逻辑 1(WRSTN = 1)应无条件启用包装器以响应 WSP 信号。
d) 当包装器逻辑在禁用后启用时,WIR 中存在的有效指令应为 WS_BYPASS 指令。
建议
e) 用于控制 WRSTN 信号的协议应确保在 WRSTN 设置为逻辑 0 (WRSTN = 0) 之前至少应用一个完整的 WRCK
脉冲,然后 WRSTN 才能设置为逻辑 1
(WRSTN = 1)。
权限
f) 在 WRSTN 禁用状态 (WRSTN = 0) 期间,包装器可能需要一个活动的 WRCK,然后
才能通过 WRSTN 上的逻辑 1 (WRSTN = 1) 启用。
13.1.2 Description Independent of the current state of a wrapper, this wrapper will enter Wrapper Disabled state when the active low WRSTN signal is asserted. The wrapper will remain in this state while the WRSTN signal remains low. In the Wrapper Disabled state, the wrapper is forced to its inactive state. This is achieved either by asynchronously resetting the WIR contents to WS_BYPASS or by gating the WIR outputs (with WRSTN = 0) to create the same effect. In the latter case, a synchronous reset operation is still needed to load the WS_BYPASS instruction into the WIR before the wrapper is enabled by de-asserting the WRSTN signal. For this reason, it is allowed to require an active WRCK during Wrapper Disabled state, prior to using the wrapper in Wrapper Enabled state. If asynchronous reset of the WIR is used to implement the Wrapper Disabled state, the sequence prior to test operations consists only of deasserting WRSTN. When gating of WIR outputs is used to implement the Wrapper Disabled state and a synchronous reset of the WIR is needed to load WS_BYPASS, the sequence prior to test operations needs an active WRCK during the Wrapper Disabled state. Because this sequence can also be used for wrappers with an asynchronous reset of the WIR, it is recommended for all wrappers. In order to have a reliable operation of the wrapper, WRSTN should be deasserted only on the falling edge of WRCK so that at least 1/2 WRCK period is left for signals to propagate within the wrapper. Figure 34 describes a synchronous reset timing. All rules described in this standard apply to the Wrapper Enabled state, except rules specific to the Wrapper Disabled state of the IEEE 1500 wrapper.
13.1.2 描述
无论包装器的当前状态如何,当 WRSTN 信号有效时,包装器将进入包装器禁用状态。当 WRSTN 信号保持低电平时,包装器将保持此状态。在包装器禁用状态下,包装器被强制进入非活动状态。这可以通过异步重置 WIR 内容为 WS_BYPASS 或通过门控 WIR 输出(WRSTN = 0)来实现,以产生相同的效果。在后一种情况下,仍然需要同步重置操作来将 WS_BYPASS 指令加载到 WIR 中,然后通过取消断言 WRSTN 信号来启用包装器。
因此,允许在包装器禁用状态下要求激活 WRCK,然后再在包装器启用状态下使用包装器。
如果使用 WIR 的异步复位来实现 Wrapper 禁用状态,则测试操作之前的序列仅包括取消断言 WRSTN。当使用 WIR 输出的门控来实现 Wrapper 禁用状态并且需要同步复位 WIR 来加载 WS_BYPASS 时,测试操作之前的序列需要在 Wrapper 禁用状态期间激活 WRCK。由于此序列也可用于具有 WIR 异步复位的包装器,因此建议将其用于所有包装器。为了使包装器可靠运行,应仅在 WRCK 的下降沿取消断言 WRSTN,以便至少留出 1/2 WRCK 周期用于信号在包装器内传播。图 34 描述了同步复位时序。本标准中描述的所有规则都适用于 Wrapper 启用状态,IEEE 1500 包装器的 Wrapper 禁用状态特有的规则除外。
- WSP timing diagram
This clause defines timing relationships between the mandatory WSP terminals. The actual values, denoted
TBD, are to be supplied in the CTL by the wrapper provider. These timing specification parameters apply to
any wrapper implementation. Values with a hyphen (-) indicate they are not necessary or not pertinent to the
usage. Timing diagrams shown in this clause are not meant to show protocol, but rather timing relationships
between wrapper signals.
- WSP 时序图
本条款定义强制性 WSP 终端之间的时序关系。实际值(表示为
TBD)应由包装器提供商在 CTL 中提供。这些时序规范参数适用于
任何包装器实现。带连字符 (-) 的值表示它们不是必需的或与使用无关。本条款中显示的时序图并非旨在显示协议,而是包装器信号之间的时序关系。
14.1 Specifications
Rules
a) SelectWIR, ShiftWR, CaptureWR, and TransferDR shall be sampled on the rising edge of WRCK.
b) The UpdateWR signal shall be sampled on the falling edge of WRCK.
c) Actions of IEEE 1500 standard components (e.g., WIR, WDRs) shall occur on either the rising or
falling edge of WRCK in response to WSC signals as depicted in Figure 31, Figure 32 and
Figure 33.
d) Changes on the SelectWIR signal shall not occur coincident with Shift, Capture, Transfer, or Update
operations.
e) Provided that permission 13.1.1(f) is exercised, the timing relationships depicted in Figure 34 shall
be applicable.
14.1 规范
规则
a) SelectWIR、ShiftWR、CaptureWR 和 TransferDR 应在 WRCK 的上升沿上采样。
b) UpdateWR 信号应在 WRCK 的下降沿上采样。
c) IEEE 1500 标准组件(例如 WIR、WDR)的操作应在 WRCK 的上升沿或下降沿上发生,以响应 WSC 信号,如图 31、图 32 和
图 33 所示。
d) SelectWIR 信号的变化不应与 Shift、Capture、Transfer 或 Update 操作同时发生。
e) 只要行使 13.1.1(f) 许可,图 34 中所示的时序关系应适用。
14.2 Description
Even though ShiftWR may change while WRCK is high, it is anticipated that data driven from WSO at the
falling edge of WRCK will result from the data or instruction register that was selected at the immediately
preceding rising edge of WRCK.
Table 4 and Figure 31 describe timing parameters for WSP operation. See Clause 8 for details on these signals.
14.2 描述
尽管 ShiftWR 可能会在 WRCK 为高电平时发生变化,但可以预见的是,在 WRCK 的下降沿从 WSO 驱动的数据将来自在紧接的 WRCK 上升沿选择的数据或指令寄存器。
表 4 和图 31 描述了 WSP 操作的时序参数。有关这些信号的详细信息,请参阅第 8 条。

