Forum Discussion

SparkyNZ's avatar
SparkyNZ
Icon for Contributor rankContributor
3 years ago
Solved

SignalTap: Advanced Trigger Problem

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;

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:

  • 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.

5 Replies

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    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.

    • SparkyNZ's avatar
      SparkyNZ
      Icon for Contributor rankContributor

      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.

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

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

  • SyafieqS's avatar
    SyafieqS
    Icon for Super Contributor rankSuper Contributor

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


  • SyafieqS's avatar
    SyafieqS
    Icon for Super Contributor rankSuper Contributor

    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.