Forum Discussion
Altera_Forum
Honored Contributor
16 years agoThe difference between the RTL level simulation and the Gate lavel simution
HI! Everyone! I am using Quartus ii web 9.1 . Now There is a problem between the RTL level simulation and Gate lavel simution. I need help! this is the code: LIBRARY IEEE; USE IEEE...
Altera_Forum
Honored Contributor
16 years agoIt's due the differences in initialization.
In the RTL simulation, the registers are initialized to "X" or "U", since this is what the VHDL and Verilog specifications call for. In gate level simulation, the registers are initialized to "0", since this is what the FPGA actually does. There are two ways to handle this. 1. You can specify initial values for the registers. 2. You can add a reset signal to the module and make sure the testbench performs a reset at the beginning of the simulation.