You copied the Doc URL to your clipboard.

TZSwitch component

This section describes the TZSwitch component.

TZSwitch - about

The TZSwitch component permits you to control transaction routing based on the TrustZone security state of the transaction.

The default behavior is to forward secure transactions to pvbus_port_a, and normal transactions to pvbus_port_b.

You must only use TZSwitches if the routing decisions change infrequently, for example as part of a memory remap.

This is a C++ component.

TZSwitch - ports

This section describes the ports.

Table 4-206 TZSwitch ports

Name Protocol Type Description

pvbus_input

PVBus

Slave

Slave port for connection to PVBus master/decoder

pvbus_port_a

PVBus

Master

Output port a

pvbus_port_b

PVBus

Master

Output port b

control

TZSwitchControl

Slave

Controls routing of transactions

TZSwitch - parameters

This section describes the parameters.

Table 4-207 TZSwitch parameters

Name Type Allowed values Default value Description
secure Integer 0, 1, 2, 3 1 Default routing for secure transactions
normal Integer 0, 1, 2, 3 2 Default routing for normal transactions

The secure and normal parameter values control the initial state of this component.

0
Ignore these transactions.
1
Forward the transactions to pvbus_port_a.
2
Forward the transactions to pvbus_port_b.
3
Generate an abort for these transactions.

The numbers used for initial configuration are not the same as the enumeration constants used to control routing at runtime.

TZSwitch - verification and testing

This component passes tests as part of the VE example system by using VE test suites and by booting operating systems.

TZSwitch - performance

This component is optimized to have negligible impact on transaction performance. Changing memory remap settings might significantly affect performance.

Was this page helpful? Yes No