当前位置:网站首页>Analysis of define incdir command in TCL script of Modelsim
Analysis of define incdir command in TCL script of Modelsim
2022-06-29 23:52:00 【Huangpu data analysis】
(1) +incdir+:
Such as :vlog +incdir+YOUR_SOURCE_PATH foo.v
+incdir+YOUR_SOURCE_PATH Options refer to the verilog It appears in the document `include “xxx.v” when , Contains the search path for the file .
The default is to search the current path , And then there was YOUR_SOURCE_PATH Specified path .
(1) + define + :
+define+<macro_name>[=<macro_text>]
Allows the user to define macro definitions on the command line , Equivalent to compiler instructions :define <macro_name> <macro_text> You can specify multiple macro definitions , as follows : vlog +define+one=r1 +two=r2 +three=r3 test.v The macro definition of the command line will be overwritten in the source file with define Defined macro definitions with the same name
Such as :vsim -c -l vsim.log -do ./YourDo.do -L ./work work.foo
Start emulating :
-c Option to vsim Working in commandline Pattern ;
-l The option is output log File to vsim.log;
-do The option is to start the simulation and run tcl Script files ;
-L The option is to specify the working logic library ;
work.foo It's simulated top level module.
边栏推荐
- 提供有效的绩效评估
- Shell positional parameter variables and predefined variables
- Cacti最大监控数测试
- Halcon practical: design idea of solder joint detection
- Pain points and solutions of M1 notebook home office | community essay solicitation
- LC: effective Sudoku + rotating image
- FPGA Development (2) -- IIC communication
- 剑指 Offer 13. 机器人的运动范围
- 打造一个 API 快速开发平台,牛逼!
- 设置安全组、域名备案、申请ssl证书
猜你喜欢

matplotlib matplotlib中plt.hist()参数解释

【微信小程序】认识小程序项目的基本组成结构

剑指 Offer 15. 二进制中1的个数

Et la tarte aux framboises 4? Quels sont les jeux possibles?

6.29 problem solving

How about counting Berry Pie 4? What are the possible ways to play?

这个简单的小功能,半年为我们产研团队省下213个小时

一步步教你在Edge浏览器上安装网风笔记

机器学习:VC维的概念和用途

Binary search tree 230 The element with the smallest K in the binary search tree 1038 From binary search tree to larger sum tree
随机推荐
6.28 problem solving
除子
matplotlib matplotlib可视化之柱状图plt.bar()
shell-位置参数变量和预定义变量
High performance and high availability computing architecture of "microblog comments" in microblog system
Start harvesting! Nailing: adjust the maximum number of free users of "nailing team". If the number exceeds 10, it will not work normally
设置安全组、域名备案、申请ssl证书
Simple understanding of B tree and b+ tree
Solr basic operation
Solr基础操作2
History of deep learning
Procurement intelligence is about to break out, and the "3+2" system of Alipay helps enterprises build core competitive advantages
Is it safe to open a stock account? Shanghai stock account opening.
Solr基础操作4
基于OpenStack的虚拟机在线迁移
25 interview questions about Apache
Machine learning: the concept and application of VC dimension
@Scheduled注解的坑,我替你踩了
RRDTOOL draws MRTG log data
剑指 Offer 13. 机器人的运动范围