Example of Using a Bitwise Object in an Advanced Trigger Condition

You can use a Bitwise object to create an advanced trigger condition that compares specific parts of an input against another input. You can use a Bitwise object, for example, to compare two inputs from a design.

In the following example, the advanced trigger condition uses two Bitwise And objects and one Bitwise Or object to create an advanced trigger that compares a value to an address of a memory page table created from specific parts of both input registers. One Bitwise And object filters the lower 16 bits of the IR register, and the other Bitwise And object filters the upper 16 bits of the Address register. The Bitwise Or object creates a 32-bit address for a memory page table from the outputs of the Bitwise And objects. The advanced trigger condition is set to trigger when the address from the Bitwise Or object equals the value 5D6Bh.

Figure 1. Bitwise And Object Example