天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 計(jì)算機(jī)論文 >

全系統(tǒng)模擬器配置與仿真控制機(jī)制設(shè)計(jì)

發(fā)布時(shí)間:2018-11-07 10:53
【摘要】:模擬器能夠在硬件設(shè)計(jì)的同時(shí)進(jìn)行軟件的開發(fā),實(shí)現(xiàn)軟硬件交互設(shè)計(jì),更好地滿足系統(tǒng)的性能要求,縮短開發(fā)周期,加快產(chǎn)品上市。但是由于System C/C++等系統(tǒng)語言缺乏靈活性,使不同組件進(jìn)行相連時(shí),不僅繁瑣,而且容易出錯(cuò)。而Python具有語言簡潔、靈活、可擴(kuò)展性、解釋性等特點(diǎn),將Python語言用于全系統(tǒng)模擬器的配置以及控制,可以提高模擬器的靈活性以及動(dòng)態(tài)交互性;诖,本文采用Python語言設(shè)計(jì)了模擬器的配置與仿真擴(kuò)展機(jī)制。模擬器的配置與仿真控制機(jī)制的設(shè)計(jì)需要使得腳本語言能在系統(tǒng)語言之間相互訪問。本文涉及的模擬器主要由System C語言編寫。為了實(shí)現(xiàn)System C和Python之間能夠相互訪問,本文提出了功能擴(kuò)展機(jī)制,設(shè)計(jì)了兩個(gè)接口,分別為仿真接口和語言獨(dú)立接口。仿真接口的設(shè)計(jì)使得Python腳本能夠插入到System C仿真的各個(gè)階段,完成仿真的功能擴(kuò)展和修補(bǔ)工作。而語言獨(dú)立接口主要是提供一個(gè)統(tǒng)一的方法,使Python從腳本環(huán)境,通過層次路徑訪問System C的仿真對象;诠δ軘U(kuò)展機(jī)制,為虛擬平臺(tái)HVP設(shè)計(jì)了Python控制臺(tái)。Python控制臺(tái)的功能包括控制仿真運(yùn)行和暫停的仿真控制功能、模塊的集成與參數(shù)配置功能、可執(zhí)行文件加載功能、存儲(chǔ)空間讀寫功能等?刂婆_(tái)的實(shí)現(xiàn),對于虛擬平臺(tái)的靈活性和方便性有了大大的提高。在完成Python控制臺(tái)的實(shí)現(xiàn)后,對Python控制臺(tái)的功能驗(yàn)證包括對控制臺(tái)中各個(gè)功能的驗(yàn)證。經(jīng)過驗(yàn)證控制臺(tái)的各個(gè)功能正確。并為虛擬平臺(tái)的各個(gè)設(shè)備編寫了測試程序,在虛擬平臺(tái)上運(yùn)行測試向量進(jìn)行功能驗(yàn)證,最終所有的測試程序的執(zhí)行結(jié)果正確,進(jìn)一步說明了控制臺(tái)的正確性。
[Abstract]:The simulator can develop software at the same time of hardware design, realize the interactive design of software and hardware, better meet the performance requirements of the system, shorten the development period and speed up the launch of products. However, due to the lack of flexibility in System C / C and other system languages, it is not only cumbersome but also error-prone when different components are connected. Python is simple, flexible, extensible and interpretive. Using Python language in the configuration and control of the simulator can improve the flexibility and dynamic interaction of the simulator. Based on this, this paper uses Python language to design the simulator configuration and simulation extension mechanism. The configuration of the simulator and the design of the simulation control mechanism need to enable the script language to access each other among the system languages. The simulator involved in this paper is mainly written by System C language. In order to realize the mutual access between System C and Python, this paper proposes a function extension mechanism and designs two interfaces, one is simulation interface and the other is language-independent interface. The design of the simulation interface enables the Python script to be inserted into all stages of the System C simulation to complete the functional expansion and repair of the simulation. The language independent interface mainly provides a unified method to enable Python to access the simulation object of System C through hierarchical path from the script environment. Based on the function extension mechanism, the Python console is designed for the virtual platform HVP. The functions of the Python console include the simulation control function of controlling simulation running and pausing, the function of module integration and parameter configuration, the function of executable file loading, the function of module integration and parameter configuration, and the function of loading executable file. Storage space reading and writing function. The realization of the console greatly improves the flexibility and convenience of the virtual platform. After the implementation of the Python console, the functional verification of the Python console includes the verification of the various functions in the console. Verify that the various functions of the console are correct. The test program is written for each device of the virtual platform, and the test vector is run on the virtual platform to verify the function. Finally, all the test programs are executed correctly, which further explains the correctness of the console.
【學(xué)位授予單位】:哈爾濱工業(yè)大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:TP337

【參考文獻(xiàn)】

相關(guān)期刊論文 前10條

1 黃建軍;李宥謀;劉婧;周歡;;基于Python語言的自動(dòng)化測試系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[J];現(xiàn)代電子技術(shù);2017年04期

2 吳萌萌;張德學(xué);王維克;閆霄穎;;基于TLM2.0的硬件虛擬平臺(tái)設(shè)計(jì)[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2012年08期

3 孫綱德;丁勇;宋文華;羅小華;嚴(yán)曉浪;;基于軟件模擬的SoC功能驗(yàn)證技術(shù)研究進(jìn)展[J];小型微型計(jì)算機(jī)系統(tǒng);2012年04期

4 龐九鳳;佟冬;李皓;何浪;程旭;;面向基于x86處理器和AMBA的系統(tǒng)芯片的全系統(tǒng)模擬器PKUsim-86[J];電子學(xué)報(bào);2011年02期

5 許建衛(wèi);陳明宇;楊偉;潘曉雷;鄭規(guī);趙健博;孫凝暉;;計(jì)算機(jī)體系結(jié)構(gòu)模擬器技術(shù)和發(fā)展[J];系統(tǒng)仿真學(xué)報(bào);2009年20期

6 高翔;張福新;湯彥;章隆兵;胡偉武;唐志敏;;基于龍芯CPU的多核全系統(tǒng)模擬器SimOS-Goodson[J];軟件學(xué)報(bào);2007年04期

7 朱裕祿;;Linux系統(tǒng)下的ELF文件分析[J];電腦知識(shí)與技術(shù);2006年26期

8 孫君亮;李華敏;于古勝;葛明勇;;一種基于信號(hào)機(jī)制在UNIX實(shí)時(shí)應(yīng)用中快速傳遞信息的方法[J];電訊技術(shù);2006年04期

9 王曉曦,王秀利,周津慧,王永吉;NS2網(wǎng)絡(luò)仿真器功能擴(kuò)展方法及實(shí)現(xiàn)[J];小型微型計(jì)算機(jī)系統(tǒng);2004年06期

10 何先波,唐寧九,呂方,袁敏;ELF文件格式及應(yīng)用[J];計(jì)算機(jī)應(yīng)用研究;2001年11期

,

本文編號(hào):2316126

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2316126.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶93391***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請E-mail郵箱bigeng88@qq.com