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

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

  • 相关阅读:
    序列化二叉树
    把二叉树打印成多行
    按之字形打印数据
    对称的二叉树
    二叉树的下一个结点
    删除链表中重复的结点
    c语言中数组名a和&a详细介绍
    C语言输出格式
    回文素数
    求平均成绩
  • 原文地址:https://www.cnblogs.com/YINBin/p/6818206.html
Copyright © 2011-2022 走看看