vlog常用参数解析

vlog常用参数解析

  1. -f : compile all files in filelist

#+incdir+ D:/Documents/Work/UVM_PRJ/uvm-crc-test/src
D:/Documents/Work/UVM_PRJ/uvm-crc-test/src/crc7.v
D:/Documents/Work/UVM_PRJ/uvm-crc-test/src/crc7_if.sv
D:/Documents/Work/UVM_PRJ/uvm-crc-test/src/crc7_pkg.sv
D:/Documents/Work/UVM_PRJ/uvm-crc-test/src/crc7_tb_top.sv


  1. -quiet:不显示编译过程,关闭loading信息 ,对于编译很多文件时用此参数比较有用

  2. +define+:选择编译时常用此选项:例:


module example ();
`ifdef sim_opt

sim_mode =0
`else
sim_mode =1

`endif


编译时 :vlog +define+sim_opt 则运行`ifdef内的语句,如果不定义sim_opt则运行else内的语句。

  1. -incr

增量编译,对于编译过的文件不在重新编译

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值