Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16808 Discussions

SignalTap: Advanced Trigger Problem

SparkyNZ
New Contributor II
541 Views

I can't get one of my triggers to work in SignalTap. The HCOUNT equality comparison works fine but the VCOUNT equality comparison will not match a bus value of 8!

VCOUNT is defined as shown below:

bit [ 15 : 0 ] hcount = 0;
bit [ 15 : 0 ] vcount = 0;

 

uydKIdV

When I click on "Run Analysis", it always stops when VCOUNT=0100h

 

What is the problem? Is this a SignalTap bug?

Below shows the version I am using:

0 Kudos
1 Solution
SparkyNZ
New Contributor II
515 Views

I spent ages fiddling around yesterday - removing logic from the advanced trigger and it wouldn't work. I tried changing both radix on the input object, radix on the bus display (although I doubt that was relate at all). I even tried signed/unsigned and greater than/less than comparisons but nothing would work.

 

It wasn't until I removed VCOUNT from the Node List and added it back that it began to work.

 

View solution in original post

0 Kudos
5 Replies
sstrell
Honored Contributor III
519 Views

I doubt this is the issue (because that would be a weird bug), but have you tried using the same radix for the comparisons, instead of using decimal for HCOUNT and hex for VCOUNT?  You should be able to change that without having to recompile (the white boxes in the editor).

Also try taking FRAME out of the picture temporarily to see if just the HCOUNT and VCOUNT comparisons work correctly on their own.  

0 Kudos
SparkyNZ
New Contributor II
516 Views

I spent ages fiddling around yesterday - removing logic from the advanced trigger and it wouldn't work. I tried changing both radix on the input object, radix on the bus display (although I doubt that was relate at all). I even tried signed/unsigned and greater than/less than comparisons but nothing would work.

 

It wasn't until I removed VCOUNT from the Node List and added it back that it began to work.

 

0 Kudos
sstrell
Honored Contributor III
510 Views

Weird.  It's like the bits of VCOUNT got connected to Signal Tap incorrectly (bits swapped).  Glad you figured it out.

0 Kudos
SyafieqS
Employee
495 Views

Glad you have solved the issue. Let me know if there is any other concern.


0 Kudos
SyafieqS
Employee
479 Views

I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution and give Kudos.


0 Kudos
Reply