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

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

  • 相关阅读:
    计算机图形方面职业计划体会
    Shader Wave
    Cook-Torrance光照模型
    Unity3D 固定功能函数
    Hermite (埃尔米特)曲线
    技能CD 效果 shader
    圆角计算 Shader
    抽象工厂模式
    单例模式
    unity 菜单栏添加新菜单
  • 原文地址:https://www.cnblogs.com/YINBin/p/6818206.html
Copyright © 2011-2022 走看看