zoukankan      html  css  js  c++  java
  • vlog常用参数解析

    1. -f <filelist> : 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

    ------------------------------------------------------------------------

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

    3. +define+<name>:选择编译时常用此选项:例:

    ------------------------------------------------------------------------

    module example ();
    `ifdef sim_opt

    sim_mode =0
    `else
    sim_mode =1

    `endif

    ------------------------------------------------------------------------

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

    4. -incr

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

  • 相关阅读:
    Java入门(6)方法
    重构改善已有代码
    .NET面试题系列(八)电商瞬时抢购的方案
    .NET面试题系列(七)IIS
    设计模式综述
    基于ELK5.1(ElasticSearch, Logstash, Kibana)的一次整合测试
    acl.go
    单机部署-consul
    baseFileWriter.go
    config.go
  • 原文地址:https://www.cnblogs.com/YINBin/p/6818206.html
Copyright © 2011-2022 走看看