Example of Using an Edge & Level Detector Object and Logical Conditions in an Advanced Trigger Condition

You can use the Edge & Level Detector object to create an advanced trigger condition that filters data by specifying a mask to apply to incoming data, for example, to trigger only when the MSB is high. You can use Logical objects in conjunction with other objects in the Advanced Trigger Condition Editor pane to form complex logical expressions that trigger signal capture in the Signal Tap Logic Analyzer.

In the following example, the advanced trigger condition filters data from Addr reg when you use two Edge & Level Detector objects before passing the filtered data through a Logical Or object. One Edge & Level Detector object detects when the 4 MSBs of the 32-bit Addr reg register are high, while the other Edge & Level Detector object detects when the 4 LSBs of the 32-bit Addr reg register are high. The advanced trigger condition uses the Logical Or object to trigger when one of these conditions is met.

Figure: Logical Or object connected to Edge & Level Detector Example





  1. If you have not already done so, open one or more Advanced Trigger tabs.
  2. In the Advanced Trigger Condition Editor pane, right-click an empty space, and then click Insert.
  3. In the Object Properties dialog box, click the General tab.
  4. Select Logical Operator in the Object type list.
  5. Click the Parameters tab.
  6. Select Logical Operator Type in the Existing parameter settings list.
  7. Select Logical Or in the Setting list.
  8. To insert an Edge & Level Detector object in the Advanced Trigger Condition Editor pane, drag an Edge & Level Detector object from the Object Library pane into the Advanced Trigger Condition Editor pane.
  9. Right-click the Edge & Level Detector object, and then click Properties on the shortcut menu.
  10. Click the Parameters tab.
  11. In the Existing parameter settings list, select Edge & Level Detector Pattern and specify the pattern you want to use by typing the pattern in the Setting list. For example, if you have a 4-bit wide bus and you want the Edge & Level Detector object to trigger when the 2 MSBs are high and don't care about the other bits, type HHXX.
  12. In the Advanced Trigger Condition Editor pane, select the Edge & Level Detector object and drag it next to the Logical Or object. The two objects are connected by a line that represents the relationship between the two objects in the advanced trigger condition.
  13. To insert another Edge & Level Detector object in the Advanced Trigger Condition Editor pane, right-click the Logical Or object, and then click Append on the shortcut menu.
  14. In the Object Properties dialog box, click the General tab.
  15. In the Object type list, click Edge & Level Detector.
  16. Click the Parameters tab.
  17. In the Existing parameter settings list, select Edge & Level Detector Pattern and specify the pattern you want to use by typing the pattern in the Setting list. For example, if you have a 4-bit wide bus and you want the Edge & Level Detector object to trigger when the 2 LSBs are high and don't care about the other bits, type XXHH.
  18. The Edge & Level Detector object you created connects to the Logical Or object as a child object. The line connecting the two objects indicates the relationship between the two objects in the advanced trigger condition.