Candence數(shù)字仿真參數(shù)大全.doc_第1頁
Candence數(shù)字仿真參數(shù)大全.doc_第2頁
Candence數(shù)字仿真參數(shù)大全.doc_第3頁
Candence數(shù)字仿真參數(shù)大全.doc_第4頁
Candence數(shù)字仿真參數(shù)大全.doc_第5頁
已閱讀5頁,還剩2頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

Candence數(shù)字仿真參數(shù)大全(Ncverilog,irun)=Ncverilog=ncverilog +access+wrc +nctimescale+1ns/100ps +libext+.v nospecify +incdir+$PATH +define+$urmicro +notimingcheck -l $urLogFile +nclibdirname+$urWorkDir -f $urFileList loadpli1=$urPliPath/libpli.so=Irun=irun -64bit l $LogFile f $FileList +abcd+efgk=”efgk” +notimingcheck +delay_mode_distributed access +RWC timescale 1ns/10ps override_timescale -covfile $CovFile covdesign coverage covtest $CovDataBaseName covworkdir $CovPath -sysc gcc_vers $GccVersion scautoshell verilog=調(diào)試模式增加-gui linedebug$CovFileset_branch_scoringselect_coverage all $Design_topset_comdeselect_coverage all module $ModuleNamedeselect_coverage all instance $InstanceNameset_toggle_excludefile bitexclude $CovExcludefile$CovExcludefilemodule $ModuleName.$signalinstance $InstanceName.$signal=我們知道,由于NC-Verilog使用了Native Compile Code的技術(shù)來加強(qiáng)電路模擬的效率,因此在進(jìn)行模擬時必須經(jīng)過compile(ncvlog命令)以及elaborate(ncelab命令)的步驟。編譯之后,針對每一個HDL設(shè)計單元會產(chǎn)生中間表達(dá)。接著elaborate命令會建立整個電 路的結(jié)構(gòu),產(chǎn)生可以用來模擬的資料。最后使用ncsim命令來進(jìn)行模擬。 1、三命令模式(wolf評論:分步執(zhí)行,了解即可,沒有必要嘗試!)命令如下:ncvlog -f run.fncealb tb -access wrcncsim tb -gui第一個命令中,run.f是整個的RTL代碼的列表,值得注意的是,我們需要把tb文件放在首位,這樣可以避免出現(xiàn)提示timescale的錯誤。第二個命令中,access選項(xiàng)是確定讀取文件的權(quán)限。其中的tb是你的tb文件內(nèi)的模塊名字。第三個命令中,gui選項(xiàng)是加上圖形界面值得注意的是,在這種模式下仿真,是用“- ”的。而下邊要說的ncverilog是采用“+ ”的。 2、單命令模式ncverilog +access+wrc rtl +gui在這里,各參數(shù)與三命令模式相同。注意“+ ”。在本文里將詳細(xì)講述ncverilog的各種常用的參數(shù),對于三命令模式,請讀者自己查看資料。+cdslib+.設(shè)定你所仿真的庫所在+define+macro .預(yù)編譯宏的設(shè)定+errormax+整數(shù)當(dāng)錯誤大于設(shè)定時退出仿真+incdir+path設(shè)定include的路徑+linedebug允許在代碼中設(shè)定line breakpoint(wolf評論:可以與+gui結(jié)合,利用simvision trace代碼!)+log+logfile輸出到名為logfile的文件中+status顯示內(nèi)存和CPU的使用情況+work工作庫+access+w/r/c讀取對象的權(quán)限,缺省為無讀(-w)無寫(-r)無連接(-c)+gui顯示圖形交互界面+input script_file輸入腳本文件(wolf評論:可以通過此option輸入tcl腳本)+licqueque如無licence等待licence(wolf評論:遇到licence緊張的情況,可以嘗試一下!)+run如果在GUI交互界面下,啟動后將自動開始仿真+loadpli1=.動態(tài)加入PLI+timescale設(shè)定仿真單位和精度(wolf評論:與nctimescale有何區(qū)別?)+nocopyright不顯示版權(quán)信息+nospecifySuppresses timing checks and path delays in specify blocks.Ignore SDF annotations.+notimingcheckDont execute timing checks在Cadence Verilog仿真器中使用Verilog庫:使用庫文件在命令行中使用選項(xiàng):-v file_name使用庫目錄在命令行中使用選項(xiàng) y directory_name在命令行中使用選項(xiàng) +libext+file_extension(wolf評論:譬如 libext+.v)在使用庫目錄時,如果每個文件都有一個擴(kuò)展名,則在Cadence Verilog仿真器必須用+libext選項(xiàng)指定其擴(kuò)展名。仿真器中沒有缺省地使用.v作擴(kuò)展名使 用-v或-y選項(xiàng)指定庫時,只編譯那些設(shè)計中用到的模塊。如果在命令行中直接輸入庫文件名而沒有使用-v選項(xiàng) (或在文件中使用編譯指導(dǎo)include),則庫中所有模塊都被編譯。使用選項(xiàng)大大壓縮編譯時間及內(nèi)存空間。在NC Verilog中也壓縮了使用的磁盤空間。3、命令大全1.ncvlog options source_file .Options:-DEFINE - Defines a macro-FILE - Load command line arguments from rmation-MESSAGES- Specifies printing of informative messages-NOCOPYRIGHT- Suppresses printing of copyright banner-NOSTDOUT- Turn off output to screen-NOWARN - Disables printing of the specified warning messageExamples:- To compile all the modules in source.v% ncvlog source.v- To compile with informative messages% ncvlog -messages source.v2. ncelabncelab options lib.cell:viewOptions:-MESSAGES- Specifies printing of informative messages-NOCOPYRIGHT- Suppresses printing of copyright banner-NOSTDOUT- Turn off output to screen-TIMESCALE - Set default timescale on Verilog modules.-ACCESS - Set default access visibility. +rwc turn on read/write/connectivity.-FILE - Load command line arguments from -LOADPLI1 - Specify the library_name:boot_routine(s) to dynamically load a PLI1.0 application-MAXDELAYS- Selects maximum delays for simulation-MINDELAYS- Selects minimum delays for simulation-TYPDELAYS- Selects typical delays for simulation-NONEG_TCHK- Disallow negative values in SETUPHOLD & RECREM timing checks-NONOTIFIER- Notifiers are ignored in timing checks.-NOSPECIFY- Dont execute timing checks, ignore path delays and skip SDF annotations.-NOTIMINGCHECKS- Dont execute timing checks-NOWARN - Disables printing of the specified warning message-NO_TCHK_MSG- Turn off timing check warnings-SDF_NO_WARNINGS- Do not report SDF warningsExamples:- To elaborate my_lib.top:behav% ncelab my_lib.top:behav% ncelab my_lib.top% ncelab top- To elaborate with informative messages% ncelab -messages my_lib.top:behav3. ncsimncsim options lib.cell:viewOptions:-FILE - Load command line arguments from -GUI- Enter window mode before running simulation-INPUT - Script to be executed during initialization-MESSAGES- Specifies printing of informative messages-NOCOPYRIGHT- Suppresses printing of copyright banner-NONTCGLITCH- Suppress delayed net glitch suppression messages-NOSTDOUT- Turn off output to screen-NOWARN - Disables printing of the specified warning message-SDF_NO_WARNINGS- Do not report SDF warningsExamples:- To simulate the snapshot my_lib.top:snap% ncsim my_lib.top:snap% ncsim my_lib.top% ncsim top- To simulate while writing to the log file ./ncsim.log% ncsim -log ./ncsim.log my_lib.top:snap- To update the snapshot my_lib.top:snap and simulate% ncsim -update my_lib.top:snap4. ncverilogncverilog all valid Verilog-XL argumentsSupported Dash options:-f Read host command arguments from fileSupported plus options:+access+Turn on Read, Write and/or Connectivity Access+define+Define a macro from commandline+loadpli1=Specify the library_name:boot_routine(s) to dynamically load a PLI1.0 application from commandline+maxdelaysSelects maximum delays for simulation+mindelaysSelects minimum delays for simulation+typdelaysSelects typical delays for simulation+ncdumpports_format+Specify EVCD format flag for $dumpports+neg_tchkAllow negative values in SETUPHOLD & RECREM timing checks (default)+noneg_tchkDisallow negative values in SETUPHOLD & RECREM timing checks+nocopyrightSuppresses printing of copyright banner+no_notifierNotifiers are ignored in timing checks+nosdfwarnDo not report SDF warnings+nospecifySuppresses timing checks and path delays in specify blocks.Ignore SDF annotations.+nostdoutTurn off output to screen(terminal)+notchkmsgTurn off timing check warnings+notimingcheckDont execute timing checks+nowarn+Disables printing of the specified warning message+sdf_nowarningsDo not report SDF warnings5. ncsdfcncsdfc options sdf_fileOptions:-COMPILE- Compile the specified SDF files (default)-DECOMPILE- Decompile the specified SDF files-LOGFILE - Specifies the file to contain log information-MESSAGES- Specifies printing of informative messages-NOCOPYRIGHT- Suppresses printing of copyright banner-OUTPUT - Redirects compiled SDF output to the specified file-WORSTCASE_ROUNDING - Truncate min delays, round max delays upExamples:- To compile an SDF file:% ncsdfc dcache.sdfCreates compiled SDF file dcache.sdf.X- To specify a name for the compiled SDF file:% ncsdf

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論