AN 1005: Signal Tap Logic Analyzer Getting Started Tutorial
ID
792742
Date
2/15/2024
Public
2.6. Step 6: Set Trigger Conditions
Follow these steps to set the trigger conditions for Signal Tap capture:
- In the Signal Tap Setup tab, select the count_binary[0] to count_binary[3] signals, right-click and then click Group. This action groups the signals into a bus.
Figure 9. Grouping count_binary Bus
- Repeat step 1 to group the signals for seven_seg[0] to seven_seg[6].
Figure 10. Grouping Results
- To view the data for count_binary[0..3] in binary format, right-click count_binary[0..3], and then click Bus Display Format > Binary.
Figure 11. Selecting Binary Display Format
- To better represent and easily read signals for seven_seg[0..6], right-click seven_seg[0..6], then click Mnemonic Table Setup. The Mnemonic Table Setup dialog box appears.
Figure 12. Mnemonic Table Setup
- Click the Add Table button, specify Seven Segment Display for the Name and a Width of 7. Click OK.
- Double-click <<new>> in the Pattern cell to add the mnemonic pattern.
Figure 13. New Cell in Mnemonic Table Setup
- For example, to add number nine as a seven-segment mnemonic pattern, click Add Entry, and then specify the following values in the Add Entry dialog box before clicking OK:
- Value—010000
- Radix—Binary
- Mnemonic—nine
- Wrap search—Enable
Figure 14. Mnemonic Table Setup - Continue to fill the Pattern based on Value Representation for count_binary and seven_seg Registers, as Complete Pattern in Mnemonic Table Setup shows. Click OK when complete.
Figure 15. Complete Pattern in Mnemonic Table Setup
- To set the display format for seven_seg[0..6], right-click seven_seg[0..6] in Trigger Conditions, and then click Bus Display Format > Seven Segment Display : width = 7.
- To set seven_seg[0..6] as the current trigger conditions, double-click the seven_seg[0..6] cell, and then type five in the Trigger Conditions column.
Figure 16. Set Current Trigger Conditions
- To compile the design that includes this Signal Tap instance, click Processing > Start Compilation in the Intel Quartus Prime software. Close the Timing Analyzer that automatically appears following successful compilation.
- In the Signal Tap logic analyzer, program the board and click Run analysis. The following figure shows the expected result with seven_seg[0..6] == five as the trigger.
Figure 17. Expected Results
- To expand the bus group and view the signal for each sample, click the + icon
Figure 18. Expanded Group