Quartus & Modelsim initialization Problems

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.