Cadence最新數字電路驗證工具(xrun)


一、Cadence最新數字電路驗證工具(xrun)
       現在Cadence又開發出了新的仿真工具,叫xcelium,代表工具,xrun。

 1.1、xrun仿真環境搭建
環境變量設置

#!/bin/tcsh -fv

module load Verdi/201509SP2-4

#Xcelium RD Option Setting Begin
setenv CADENCE_ENABLE_VASREQ_12055_PHASE_1
setenv CADENCE_ENABLE_VASREQ_6114_PHASE_1
setenv CADENCE_ENABLE_VASREQ_6114_PHASE_2
setenv CADENCE_ENABLE_VASREQ_6114_PHASE_3

setenv CADENCE_ENABLE_VASREQ_19619_PHASE_1
setenv CADENCE_ENABLE_VASREQ_44905_PHASE_1
#setenv CADENCE_ENABLE_VASREQ_63188_PHASE_1

setenv LD_LIBRARY_PATH ${VERDI_HOME}/share/PLI/IUS/linux64/boot/:${LD_LIBRARY_PATH}

#Xcelium RD Option Setting end

#Xcelium RD Option Setting Begin
module load IUS/2003_e145
module load JasperGold/1912
#Xcelium RD Option Setting end

 


Simulation Command

my $sim_option = "xrun -64bit -licqueue -elaborate -access +rwc -timescale 1ns/1ps -uvm
-uvmnoatuocompile -sv -sysv_ext +.h+.sv+.svh+.svi+.pkg ";
$sim_option .= " +define+XCELISUM_SIM "; ##To avoid array func etc
$sim_option .= " -nowarn CUVIRH ";
$sim_option .= " -nowarn FUNTSK ";
$sim_option .= " -nowarn STARMT ";
$sim_option .= " -warn_multiple_driver ";
$sim_option .= " -xmerror BNDWRN ";
$sim_option .= " -dumpports_format 2 ";
$sim_option .= " -v2009 -race ";
$sim_option .= " -top top";
$sim_option .= " -ALLOWREDEFINITION ";
$sim_option .= " -coverage A -covdut top ";
$sim_option .= " -f list_verdi.f ";
$sim_option .= " -input ucli.do "; #tcl file,Dump wavefrom, Ctrl File
$sim_option .= " -loadpli1 $ENV{VERDI_HOME}/share/PLI/IUS/linux64/boot/debpli.so:novas_pli_boot ";

 Control File(tcl)

set fsdn_fn $env(TESTNAME).fsdb; #name of the wavefron file
set log_fn $env(TESTNAME).fsdb.log; #name of the log file
set mbyte_cnt 1000; #limit on the wavefrom filesize
set file_cnt 100; #limit on the number filesize

call fsdbAutoSwitchDumpfile mbyte_cnt \"$fsdb_fn\" $file_cnt "\$log_fn\";
call fsdbDumpvars 0 top
call fsdbDumpSVA
run; #
#################################################################################
#most tcl commands can be use here
#################################################################################
#exit;
#quit;
#run 2 ms;
#run 3us;
#stop -absolute 300 ns;
#call \$fsdbDumpoff;
#call \$fsdbDumpon;
#call \$fsdbDumpSuppress(tb.d);
#call \$fsdbDumpMenInScope(0, tb.d);
#call \$fsdbDumpMDAOnChange(2, tb.d);
#call \$fsdbDumpflush;
#call \$fsdbDumpStrength;
#do fn.tcl
exit;

 


 

 1.2、xrun使用經驗總結
irun工具,提供了 –gateloopwarn 選項,用於檢測這種零延時的組合邏輯。
————————————————
版權聲明:本文為CSDN博主「gsithxy」的原創文章,遵循CC 4.0 BY-SA版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/gsjthxy/article/details/106957679

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM