zoukankan      html  css  js  c++  java
  • Basic .do(Can be used as template)

    #Time: 2017-05-06  
    #By : YINBin@122275  
     
    quit -sim  
     
    cd D:/Documents/Work/UVM_PRJ/uvm-crc-test

    set UVM_DPI_HOME C:/questasim64_10.2c/uvm-1.1d/win64
    set UVM_HOME C:/questasim64_10.2c/verilog_src/uvm-1.1d/src
    set SRC_DIR D:/Documents/Work/UVM_PRJ/uvm-crc-test/src

    if [file exists work] {  
      vdel -all  
    }  
    vlib work  

    vlog -timescale "1ns/1ns" -quiet -mfcu -suppress 2181 +acc=rmb -writetoplevels questa.tops -incr +incdir+$SRC_DIR +incdir+$UVM_HOME $UVM_HOME/uvm.sv +incdir+. $SRC_DIR/crc7_pkg.sv
    vlog -timescale "1ns/1ns" -quiet -mfcu -suppress 2181 +acc=rmb -writetoplevels questa.tops -incr +incdir+$SRC_DIR +incdir+$UVM_HOME $UVM_HOME/uvm.sv +incdir+. $SRC_DIR/crc7_if.sv
    vlog -timescale "1ns/1ns" -quiet -mfcu -suppress 2181 +acc=rmb -writetoplevels questa.tops -incr +incdir+$SRC_DIR +incdir+$UVM_HOME $UVM_HOME/uvm.sv +incdir+. $SRC_DIR/crc7.v
    vlog -timescale "1ns/1ns" -quiet -mfcu -suppress 2181 +acc=rmb -writetoplevels questa.tops -incr +incdir+$SRC_DIR +incdir+$UVM_HOME $UVM_HOME/uvm.sv +incdir+. $SRC_DIR/crc7_tb_top.sv

    vsim -novopt -c -sv_lib $UVM_DPI_HOME/uvm_dpi work.crc7_tb_top

    do wave.do

    run 500ns

  • 相关阅读:
    [CF149D] Coloring Brackets(区间dp)
    [CF1437E] Make It Increasing(LIS)
    洛谷试题之跳石头
    【模板】深搜和广搜
    高精度阶乘
    【模板】拓扑排序
    【模板】最小生成树——Kruskal算法
    判断素数的方法
    高精度乘法
    高精度加法
  • 原文地址:https://www.cnblogs.com/YINBin/p/6819057.html
Copyright © 2011-2022 走看看