ArticleDirectory
- Quartus & Modelsim initialization Problems
Quartus & Modelsim initialization Problems
The problem is not me alone: http://bbs.ednchina.com/BLOG_ARTICLE_271118.HTM
In the impression, it is zero by default if it is not given to the beginning!
However, if Modelsim does not assign an initial value, it is not zero. If it is not written in the reset, an error is inevitable.
So rigorousCodeStyle, complete time series model, Yu Ji is perfect!
Debug a fifo2sram2fifo project and use UART to display the project, which always causes regular problems. Sleeping on your own was designed with yy.
There is no problem in Quartus II. Its default value is 0;
However, I am sorry to use the simulation provided by Quartus II. Instead, I can use Modelsim to check the waveform. The problem also starts from:
As shown in, the txd_cnt in the annotation part does not make much sense. It only makes sense when t_send is used. Therefore, it was not written because of laziness and tenderness.
However, the simulation waveform is as follows. You can see that the txd_cnt, txd, and State exceptions occur.
However, after the above comments are added, that is, the complete sequence, after the initialization of various States is written:
Alas, rigorous code, complete style, and self-help, always get twice the result with half the effort!