| |||
| Home > Program Trace Macrocell Programmers Model > Virtual Machine ID comparator | |||
It is implementation defined whether a PTM implements the Virtual Machine ID (VMID) comparator.
The VMID Comparator Value Register can hold a VMID value, for comparison with the current VMID. For more information, see VMID Comparator Value Register, ETMVMIDCVR.
The PTM uses the VMID comparator in two ways:
You can make any address comparison conditional on the VMID also matching, by programming the Address Comparator Access Type register to use the VMID comparator.
The VMID comparator provides an event resource. At each waypoint, the PTM compares the current Virtual Machine ID with the VMID comparator. If there is a match then the corresponding event resource is TRUE, otherwise it is FALSE. These values are held until the PTM processes the next waypoint.