YHFT-MP DSP中斷與異常模塊設(shè)計(jì)與驗(yàn)證
本文選題:中斷 切入點(diǎn):多核DSP 出處:《國(guó)防科學(xué)技術(shù)大學(xué)》2013年碩士論文 論文類(lèi)型:學(xué)位論文
【摘要】:中斷與異常處理機(jī)制在DSP實(shí)時(shí)處理中一直扮演非常重要角色,其可以提高DSP的利用效率及吞吐量。研究與設(shè)計(jì)基于YHFT-MP DSP的中斷與異常處理系統(tǒng),對(duì)于DSP的設(shè)計(jì)與應(yīng)用具有現(xiàn)實(shí)意義。 本文首先深入研究了基于YHFT-MP DSP的中斷與異常,分析、設(shè)計(jì)并實(shí)現(xiàn)了YHFT-MP DSP的中斷與異常模塊。其次提出、設(shè)計(jì)并實(shí)現(xiàn)了系統(tǒng)級(jí)分塊式驗(yàn)證程序的驗(yàn)證方法,并對(duì)中斷與異常模塊進(jìn)行了基于仿真的驗(yàn)證和代碼覆蓋率的驗(yàn)證。最后,嘗試了在操作系統(tǒng)級(jí)對(duì)中斷模塊進(jìn)行驗(yàn)證。主要的研究工作包括以下幾個(gè)方面: 1.深入研究了YHFT-MP DSP的總體結(jié)構(gòu)、流水結(jié)構(gòu)及其內(nèi)核的結(jié)構(gòu),并對(duì)中斷及異常模塊與其它部件之間的聯(lián)系進(jìn)行了分析。對(duì)有關(guān)DSP中斷的相關(guān)研究進(jìn)行概括和總結(jié),重點(diǎn)研究了YHFT-MP DSP的中斷源、中斷分類(lèi)、以及中斷模塊的總體結(jié)構(gòu),并對(duì)YHFT-MP DSP的中斷檢測(cè)及處理機(jī)制原理進(jìn)行了深入詳細(xì)的研究。 2.設(shè)計(jì)和實(shí)現(xiàn)了基于YHFT-MP DSP的中斷模塊。在深入研究中斷檢測(cè)及處理機(jī)制原理的基礎(chǔ)上,針對(duì)YHFT-MP DSP體系結(jié)構(gòu)及其指令集的特點(diǎn),對(duì)中斷處理狀態(tài)機(jī)模塊進(jìn)行了合理的裁剪和優(yōu)化,使主程序能夠更快的進(jìn)入中斷服務(wù)程序,滿(mǎn)足嵌入式芯片對(duì)實(shí)時(shí)性的要求。 3.對(duì)有關(guān)DSP異常的相關(guān)研究進(jìn)行了概括與總結(jié)。深入研究了YHFT-MPDSP的異常源、異常分類(lèi)以及異常模塊的總體結(jié)構(gòu),并對(duì)YHFT-MP DSP異常檢測(cè)及處理機(jī)制的原理進(jìn)行了深入詳細(xì)的研究。 4.設(shè)計(jì)和實(shí)現(xiàn)了基于YHFT-MP DSP的異常模塊。在深入研究異常檢測(cè)及處理機(jī)制原理的基礎(chǔ)之上,針對(duì)YHFT-MP DSP體系結(jié)構(gòu)及指令集的特點(diǎn),對(duì)異常處理狀態(tài)機(jī)模塊進(jìn)行了合理的裁剪和優(yōu)化,使YHFT-MP DSP對(duì)出現(xiàn)的錯(cuò)誤事件能夠快速響應(yīng),,滿(mǎn)足DSP對(duì)錯(cuò)誤事件實(shí)時(shí)處理的需要。 5.提出、設(shè)計(jì)并實(shí)現(xiàn)了系統(tǒng)級(jí)分塊式驗(yàn)證程序方法,對(duì)中斷與異常,及一些指令的驗(yàn)證方法進(jìn)行了探討,并對(duì)中斷與異常模塊進(jìn)行了基于仿真的驗(yàn)證和代碼覆蓋率的驗(yàn)證。在深入理解YHFT-MP DSP的體系結(jié)構(gòu)的基礎(chǔ)之上,對(duì)嵌入式操作系統(tǒng)Linux進(jìn)行了移植,并從操作系統(tǒng)的角度上,嘗試了對(duì)YHFT-MP DSP的中斷系統(tǒng)進(jìn)行了初步驗(yà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é)位授予單位】:國(guó)防科學(xué)技術(shù)大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類(lèi)號(hào)】:TP332
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 孫臨秋;汪茂;;TMS32010數(shù)字信號(hào)處理器的系統(tǒng)設(shè)計(jì)與應(yīng)用[J];南京工學(xué)院學(xué)報(bào);1987年04期
2 何朝軍;李哲英;;數(shù)字電路IP軟核任務(wù)流方法驗(yàn)證[J];電子測(cè)量技術(shù);2011年08期
3 高梅國(guó),何佩琨,王飛;數(shù)字信號(hào)處理器DSPs的發(fā)展[J];電子技術(shù)應(yīng)用;2000年05期
4 董楊鑫;鄭建宏;;SoC設(shè)計(jì)驗(yàn)證策略及方法學(xué)[J];電子質(zhì)量;2007年10期
5 汪東;陳書(shū)明;;一種面向異構(gòu)多核DSP的數(shù)據(jù)流傳輸控制引擎設(shè)計(jì)與評(píng)測(cè)[J];國(guó)防科技大學(xué)學(xué)報(bào);2009年05期
6 楊輝,秦品健;淺談TMS320C6000中斷程序的實(shí)現(xiàn)方法[J];信息技術(shù);2002年09期
7 丁宇新,程虎;Java虛擬機(jī)異常處理機(jī)制的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)研究與發(fā)展;2000年05期
8 王曉華,龐春江,孟建良;基于指令并行性的VLIW的控制流[J];計(jì)算機(jī)工程與應(yīng)用;2002年15期
9 陳川,余松煜;基于DSP的多媒體數(shù)據(jù)并行處理的研究[J];計(jì)算機(jī)工程與應(yīng)用;2003年09期
10 郭陽(yáng);甄體智;李勇;;YHFT-DX高性能DSP指令控制流水線設(shè)計(jì)與優(yōu)化[J];計(jì)算機(jī)工程與應(yīng)用;2010年07期
本文編號(hào):1638162
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1638162.html