Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

gate lev sim not working as expected

hello everybody

im quite new in developing for FPGA.

I have started wih DE0-nano board.

im learning just programming an easy FSM that performs elementary operations.

i have followed the tutorial for simulating the circuit with Modelsim-Altera.

no problem with the flow of functional simulation. the operations are simulated in the sequence as expected.

While trying to create timing simulation with the same Modelsim (gate level simulation)

my FSM does not work as expected. The state of FSM is update in not controlled way.

I have made several tries and i have the suspect to have wrong code the two process statement that concurrency run.

The source code is in VHDL.

So same code in VHD work in functional simulation and worngly work in gate level simulation.

i would like to fix this issue to learn more about FPGA.

Thank you

21 Replies