




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、Modelsim的下載及安裝的下載及安裝Modelsim是一種驗(yàn)證和仿真工具 針對Verilog、VHDL、systemVerilog、systemC及其混合語言及其混合語言 官網(wǎng)官網(wǎng):http:/ .5_keygen。運(yùn)行里面的運(yùn)行里面的mentorkg.exe文件,文件,產(chǎn)生產(chǎn)生license.txt ,后綴名,后綴名txttxt改為改為dat,復(fù)制到安裝目錄的,復(fù)制到安裝目錄的win32下下4.右擊右擊“我的電腦我的電腦”,“屬性屬性”/“”/“高級高級”/“”/“環(huán)境變量環(huán)境變量”,”,新新建系統(tǒng)變量建系統(tǒng)變量LM_LICENSE_FILE, ,變量值賦變量值賦LICENSE.dat所
2、在路徑所在路徑(win32LICENSE.dat)確定,重啟計(jì)算機(jī)確定,重啟計(jì)算機(jī)Modelsim 6.5基本仿真流程基本仿真流程 Modelsim 6.5基本仿真流程基本仿真流程1. Creating the Working Library In ModelSim, all designs are compiled into a library. You typically start a new simulation in ModelSim by creating a working library called “work” ( the default library name).2.
3、Compiling Your Design 在在library中完成設(shè)計(jì)文件的編譯,支持多平臺中完成設(shè)計(jì)文件的編譯,支持多平臺You compile your design units into the library( compatible across all supported platforms) Modelsim 6.5基本仿真流程基本仿真流程3. Load and Run simulation load the simulator with your design by invoking the simulator on a top-level module (Verilog)As
4、suming the design loads successfully, the simulation time is set to zero, then enter a run command to begin simulation.Modelsim 6.5基本仿真流程基本仿真流程 4. Debug results If the results is not you expect, you can use ModelSims robust debugging environment to track down the cause of the problem.Modelsim 6.5基本仿
5、真流程基本仿真流程Modelsim 6.5基本仿真流程基本仿真流程DIFFRERENCES: Do not have to create a working library in the project flow (automatically). Projects are persistent. ( open every time you invoke ModelSim)Modelsim 6.5基本仿真流程基本仿真流程create the project and add the test bench to the projectModelsim 6.5基本仿真流程基本仿真流程1. ModelS
6、im uses libraries in two ways: a local working library that contains the compiled version of your design (changes as you update your design and recompile); a resource library (typically static , you create or by another design team)Modelsim 6.5基本仿真流程基本仿真流程2. FOR EXAMPLE: Your gate-level design and t
7、est bench are compiled into working library, The design references gate-level models in resource library (separate). Modelsim 6.5基本仿真流程基本仿真流程1. Create a new directory and copy the design files for this lesson into it. Counter.v tcounter.v 2. Start modelsim File /Change Directory (to the directory yo
8、u created)Modelsim 6.5基本仿真流程基本仿真流程3. Create the working library. File/ New /LibraryWork中自動(dòng)創(chuàng)建了一個(gè)中自動(dòng)創(chuàng)建了一個(gè)_info的文件的文件。表明此目錄為表明此目錄為Modelsim的工作庫,不的工作庫,不能改動(dòng)。能改動(dòng)。 Modelsim 6.5基本仿真流程基本仿真流程4. Then Transcript window: vlib work vmap work workModelsim 6.5基本仿真流程基本仿真流程5. Compile Compile / CompileModelsim 6.5基本仿真流
9、程基本仿真流程6. Then Modelsim 6.5基本仿真流程基本仿真流程 7. optimize the designCmd vopt +acc test_counter -o testcounter_opt+acc 對設(shè)計(jì)文件提供很好的能見度,方便調(diào)試對設(shè)計(jì)文件提供很好的能見度,方便調(diào)試-o 為優(yōu)化后的文件指定名字為優(yōu)化后的文件指定名字 Modelsim 6.5基本仿真流程基本仿真流程8. Load the module into simulator Cmd vsim testcounter_opt Modelsim 6.5基本仿真流程基本仿真流程Object window( (顯示數(shù)據(jù)對象名字顯示數(shù)據(jù)對象名字,當(dāng)前值當(dāng)前值。 ) ) Processes window( (四種模式四種模式Active, In Region, Design, Hierarchical。默認(rèn)第一種,顯示在仿真中活動(dòng)的進(jìn)程。默認(rèn)第一種,顯示在仿真中活動(dòng)的進(jìn)程。 ) ) Modelsim 6.5基本仿真流程基本仿真流程9. Run the simulation View Wave (or cmd View Wave) right-click test_counterAdd / To Wave / All items in
溫馨提示
- 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)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 減壓式照明指示燈開關(guān)項(xiàng)目投資可行性研究分析報(bào)告(2024-2030版)
- 2025年社區(qū)水質(zhì)調(diào)查報(bào)告
- 賓館合同范本(5篇)
- 2025年半線卡織物行業(yè)深度研究分析報(bào)告
- 平衡鳥雕塑項(xiàng)目投資可行性研究分析報(bào)告(2024-2030版)
- 婚宴廳租賃合同
- 無線固話及寬帶業(yè)務(wù)銷售外包合同范本10篇
- 漫畫圖書采購協(xié)議7篇
- 電視節(jié)目合作合同協(xié)議
- 用軟件做個(gè)房產(chǎn)合同協(xié)議
- 項(xiàng)目工作周報(bào)模板
- GB4789.2-2022食品安全國家標(biāo)準(zhǔn) 食品微生物學(xué)檢驗(yàn) 菌落總數(shù)測定
- DB45∕T 396-2022 膨脹土地區(qū)建筑技術(shù)規(guī)程
- 蘇教版二年級數(shù)學(xué)下冊《第2單元 練習(xí)二》教學(xué)課件PPT小學(xué)公開課
- 長期購銷合作協(xié)議書參考
- 入團(tuán)志愿書(2016版本)(可編輯打印標(biāo)準(zhǔn)A4) (1)
- 警棍盾牌術(shù)基本動(dòng)作
- 撰寫課題申請書的五個(gè)關(guān)鍵(課堂PPT)
- 英語作業(yè)分層設(shè)計(jì)案例
- sq1魔方還原教程
- 電腦維修 電腦維修實(shí)例大全電子書
評論
0/150
提交評論