YHFT-MP DSP中斷與異常模塊設(shè)計與驗證
本文選題:中斷 切入點(diǎn):多核DSP 出處:《國防科學(xué)技術(shù)大學(xué)》2013年碩士論文 論文類型:學(xué)位論文
【摘要】:中斷與異常處理機(jī)制在DSP實時處理中一直扮演非常重要角色,其可以提高DSP的利用效率及吞吐量。研究與設(shè)計基于YHFT-MP DSP的中斷與異常處理系統(tǒng),對于DSP的設(shè)計與應(yīng)用具有現(xiàn)實意義。 本文首先深入研究了基于YHFT-MP DSP的中斷與異常,分析、設(shè)計并實現(xiàn)了YHFT-MP DSP的中斷與異常模塊。其次提出、設(shè)計并實現(xiàn)了系統(tǒng)級分塊式驗證程序的驗證方法,并對中斷與異常模塊進(jìn)行了基于仿真的驗證和代碼覆蓋率的驗證。最后,嘗試了在操作系統(tǒng)級對中斷模塊進(jìn)行驗證。主要的研究工作包括以下幾個方面: 1.深入研究了YHFT-MP DSP的總體結(jié)構(gòu)、流水結(jié)構(gòu)及其內(nèi)核的結(jié)構(gòu),并對中斷及異常模塊與其它部件之間的聯(lián)系進(jìn)行了分析。對有關(guān)DSP中斷的相關(guān)研究進(jìn)行概括和總結(jié),重點(diǎn)研究了YHFT-MP DSP的中斷源、中斷分類、以及中斷模塊的總體結(jié)構(gòu),并對YHFT-MP DSP的中斷檢測及處理機(jī)制原理進(jìn)行了深入詳細(xì)的研究。 2.設(shè)計和實現(xiàn)了基于YHFT-MP DSP的中斷模塊。在深入研究中斷檢測及處理機(jī)制原理的基礎(chǔ)上,針對YHFT-MP DSP體系結(jié)構(gòu)及其指令集的特點(diǎn),對中斷處理狀態(tài)機(jī)模塊進(jìn)行了合理的裁剪和優(yōu)化,使主程序能夠更快的進(jìn)入中斷服務(wù)程序,滿足嵌入式芯片對實時性的要求。 3.對有關(guān)DSP異常的相關(guān)研究進(jìn)行了概括與總結(jié)。深入研究了YHFT-MPDSP的異常源、異常分類以及異常模塊的總體結(jié)構(gòu),并對YHFT-MP DSP異常檢測及處理機(jī)制的原理進(jìn)行了深入詳細(xì)的研究。 4.設(shè)計和實現(xiàn)了基于YHFT-MP DSP的異常模塊。在深入研究異常檢測及處理機(jī)制原理的基礎(chǔ)之上,針對YHFT-MP DSP體系結(jié)構(gòu)及指令集的特點(diǎn),對異常處理狀態(tài)機(jī)模塊進(jìn)行了合理的裁剪和優(yōu)化,使YHFT-MP DSP對出現(xiàn)的錯誤事件能夠快速響應(yīng),,滿足DSP對錯誤事件實時處理的需要。 5.提出、設(shè)計并實現(xiàn)了系統(tǒng)級分塊式驗證程序方法,對中斷與異常,及一些指令的驗證方法進(jìn)行了探討,并對中斷與異常模塊進(jìn)行了基于仿真的驗證和代碼覆蓋率的驗證。在深入理解YHFT-MP DSP的體系結(jié)構(gòu)的基礎(chǔ)之上,對嵌入式操作系統(tǒng)Linux進(jìn)行了移植,并從操作系統(tǒng)的角度上,嘗試了對YHFT-MP DSP的中斷系統(tǒng)進(jìn)行了初步驗證。
[Abstract]:Interrupt and exception handling mechanism has been playing a very important role in DSP real-time processing, which can improve the utilization efficiency and throughput of DSP. This paper studies and designs the interrupt and exception handling system based on YHFT-MP DSP. It has practical significance for the design and application of DSP. In this paper, the interrupt and exception based on YHFT-MP DSP are studied, and the interrupt and exception module of YHFT-MP DSP is analyzed, designed and implemented. Secondly, the verification method of system level block verification program is designed and implemented. The interrupt and exception modules are verified based on simulation and code coverage. Finally, the interrupt module is verified at the operating system level. The main research work includes the following aspects:. 1. The overall structure of YHFT-MP DSP, income structure and its kernel structure are deeply studied, and the relationship between interrupt and abnormal module and other components is analyzed. The related research on DSP interrupt is summarized and summarized. The interrupt source, interrupt classification and the structure of interrupt module of YHFT-MP DSP are studied in detail, and the principle of interrupt detection and processing mechanism of YHFT-MP DSP is studied in detail. 2. The interrupt module based on YHFT-MP DSP is designed and implemented. On the basis of deeply studying the principle of interrupt detection and processing mechanism, according to the characteristics of YHFT-MP DSP architecture and instruction set, the interrupt processing state machine module is cut and optimized reasonably. The main program can enter interrupt service program faster and meet the real-time requirement of embedded chip. 3. The related research on DSP anomaly is summarized and summarized. The anomaly source, exception classification and the general structure of exception module of YHFT-MPDSP are deeply studied. The principle of YHFT-MPDSP anomaly detection and handling mechanism is studied in detail. 4. The exception module based on YHFT-MP DSP is designed and implemented. On the basis of deeply studying the principle of exception detection and handling mechanism, according to the characteristics of YHFT-MP DSP architecture and instruction set, the state machine module of exception handling is cut and optimized reasonably. YHFT-MP DSP can respond quickly to the error event and meet the need of DSP to deal with the error event in real time. 5. The method of system level block verification program is designed and implemented. The methods of interrupt and exception, and the verification method of some instructions are discussed. The interrupt and exception modules are verified based on simulation and code coverage. On the basis of deeply understanding the architecture of YHFT-MP DSP, the embedded operating system Linux is transplanted, and from the point of view of the operating system, The interrupt system of YHFT-MP DSP is preliminarily verified.
【學(xué)位授予單位】:國防科學(xué)技術(shù)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2013
【分類號】:TP332
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 孫臨秋;汪茂;;TMS32010數(shù)字信號處理器的系統(tǒng)設(shè)計與應(yīng)用[J];南京工學(xué)院學(xué)報;1987年04期
2 何朝軍;李哲英;;數(shù)字電路IP軟核任務(wù)流方法驗證[J];電子測量技術(shù);2011年08期
3 高梅國,何佩琨,王飛;數(shù)字信號處理器DSPs的發(fā)展[J];電子技術(shù)應(yīng)用;2000年05期
4 董楊鑫;鄭建宏;;SoC設(shè)計驗證策略及方法學(xué)[J];電子質(zhì)量;2007年10期
5 汪東;陳書明;;一種面向異構(gòu)多核DSP的數(shù)據(jù)流傳輸控制引擎設(shè)計與評測[J];國防科技大學(xué)學(xué)報;2009年05期
6 楊輝,秦品健;淺談TMS320C6000中斷程序的實現(xiàn)方法[J];信息技術(shù);2002年09期
7 丁宇新,程虎;Java虛擬機(jī)異常處理機(jī)制的設(shè)計與實現(xiàn)[J];計算機(jī)研究與發(fā)展;2000年05期
8 王曉華,龐春江,孟建良;基于指令并行性的VLIW的控制流[J];計算機(jī)工程與應(yīng)用;2002年15期
9 陳川,余松煜;基于DSP的多媒體數(shù)據(jù)并行處理的研究[J];計算機(jī)工程與應(yīng)用;2003年09期
10 郭陽;甄體智;李勇;;YHFT-DX高性能DSP指令控制流水線設(shè)計與優(yōu)化[J];計算機(jī)工程與應(yīng)用;2010年07期
本文編號:1638162
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1638162.html