Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15469 Discussions

Capture signal with SignalTap II with Storage Qualifiers

SparkyNZ
New Contributor II
160 Views

I am struggling to get this to work. I have watched the Intel training videos about SignalTap triggers but they are so dry and don't really give any hands-on examples to follow.

 

I have a design which has a state machine. All I want to do is start capturing signal data when my state machine currState value becomes HANDLE_INPUT and stop capturing signal data when currState becomes RETURN_TO_IDLE.

 

2020-05-02 15_05_48-SignalTap II Logic Analyzer - E__FPGA Cylone Projects_SDRAMTestNonBlocking4_SDRA.png

 

What am I doing wrong? The trigger functionality makes no sense to me whatsoever.

0 Kudos
3 Replies
sstrell
Honored Contributor III
112 Views

I'm not sure why you have the storage qualifier options set to Basic OR. They should be the default of Basic AND because the qualifier needs to match all the bits in your state register to the mnemonic I presume you've set up for the state names.

 

Also, if you haven't already, try turning on "Disable storage qualifier" temporarily (no need to recompile for this option) to make sure your actual trigger is working.

 

#iwork4intel

SparkyNZ
New Contributor II
112 Views

I'm not sure why either - I got desperate because I couldn't understand how it all worked :-) I did manage to figure it all out though. The biggest problem was that I had a 32bit value for my state and the mnemonic table values were defined as 5bit. I changed the state variable to 5bit and then the trigger began to work quite happily with Storage Qualifier disabled. I then enabled Storage Qualifier and it worked.

 

However.. I still have issues with Storage Qualifier on occasion.. I think there is an intermittent issue in there somewhere but I can live with that.

sstrell
Honored Contributor III
112 Views

What kind of other issues with storage qual have you run into?

 

#iwork4intel

Reply