In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "what are the matters needing attention in the use of the header file under the Vivado". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the precautions for the use of the header file under Vivado".
Is not limited to Vivado, a kind of EDA.
Header files mainly use "file include" processing, the so-called "file include" processing is a source file can include the entire contents of another source file, that is, another file is included in this file. The Verilog language provides the `include command to implement the operation of "file inclusion".
I defined a global variable in the header file as follows:
When I use this global variable, I always prompt that the global variable cannot be found:
There are two main reasons for this problem:
1. The type of header file should be noted:
The type can be modified in the arrow part.
2. Quote error:
Output reg [WIDTH-1:0] LED
The above is wrong, and the correct is as follows:
Output reg ['WIDTH-1:0] LED
The first of these is less likely to cause errors, and it won't be a problem to try other types (Verilog source file types).
Note the following points about the use of file inclusions:
Thank you for your reading, these are the contents of "what are the matters needing attention in the use of Vivado header files". After the study of this article, I believe you have a deeper understanding of what matters needing attention in the use of Vivado header files, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.