Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Are there any good debugging tools that can help us troubleshoot easily?

CNgu
Beginner
1,613 Views

We currently using quartus ii web edition version 13sp1.

We are trying to deploy a solution for our customer using Altera Cyclone 2 FPGA. However, we are running into a problem related to state transition within one of our modules. Questions:

 

  1. FYI, we have a long list of states in the state machine and the state is monitored by an external logic analyzer. Occasionally, the state value captured by the analyzer is not a value set anywhere in the Verilog code. What could be causing this to happen?
  2. Are there any good debugging tools that can help us troubleshoot this issue easily?

 

1 Reply
JOHI
New Contributor II
840 Views

If your state machine has inputs, make sure you buffer (synchronise) these inputs with the clock. Otherwise, your logic network that defines transitions from one state to another could be in a transition and not in a stable state when your state variable is updated.

0 Kudos
Reply