基于無線通信DSP中超越函數(shù)的設(shè)計(jì)
發(fā)布時(shí)間:2019-01-20 08:47
【摘要】:無線通信是指利用電磁波信號(hào)能在自由空間中傳播的這一特性進(jìn)行信息交換的通信方式。現(xiàn)今,對(duì)無線通信系統(tǒng)越來越深入的研究,要求驅(qū)動(dòng)裝置的處理器必須具有更高的性能。數(shù)字信號(hào)處理器(DSP)高速,高集成度,低功耗,并行結(jié)構(gòu),完善的開發(fā)環(huán)境,并擁有仿真模塊和仿真調(diào)試接口的特點(diǎn),正是新型的無線通信所需要的。因而,,無線通信與DSP芯片相結(jié)合的技術(shù)得到了越來越廣泛的應(yīng)用。本文研究的Tricore電路就是將DSP和微控制器(MCU)集成到一個(gè)基于精簡(jiǎn)指令集計(jì)算機(jī)(RISC)的32位CPU內(nèi)核上的電路。 超越函數(shù)在數(shù)學(xué)領(lǐng)域中與代數(shù)函數(shù)相反,指的是變量之間的關(guān)系式不能用有限次的加、減、乘、除、乘方、開方表示的函數(shù)。例如指數(shù)函數(shù),對(duì)數(shù)函數(shù),三角函數(shù),反三角函數(shù)就屬于超越函數(shù),而且屬于初等超越函數(shù)。本文研究的就是初等超越函數(shù)中的指數(shù)函數(shù)和對(duì)數(shù)函數(shù)。 指數(shù)、對(duì)數(shù)運(yùn)算是Turbo碼的MAP算法和Log-MAP算法中不可避免的運(yùn)算,且實(shí)驗(yàn)證明,指數(shù)、對(duì)數(shù)運(yùn)算的復(fù)雜程度直接影響了整個(gè)算法的執(zhí)行效率,F(xiàn)有的研究人員多采用改變算法或函數(shù)近似的方式避免進(jìn)行指數(shù)、對(duì)數(shù)運(yùn)算,從而達(dá)到簡(jiǎn)化運(yùn)算的效果。本文針對(duì)這個(gè)問題,在Tricore電路原有的指令集上擴(kuò)展了專門用于指數(shù)和對(duì)數(shù)運(yùn)算的指令,并從電路上實(shí)現(xiàn)其功能,可供MAP算法和Log-MAP算法的調(diào)用,以降低運(yùn)算復(fù)雜度。 首先,本文研究了指數(shù)函數(shù)和對(duì)數(shù)函數(shù)的算法原理,包括完全查表法、擴(kuò)展查表法、泰勒展開法、線性近似法及查表與線性近似相結(jié)合的方法,對(duì)各種算法的精度和占用存儲(chǔ)空間進(jìn)行比較;接著,基于Tricore電路的結(jié)構(gòu)和指令集定義格式提出了用于指數(shù)和對(duì)數(shù)運(yùn)算的專用擴(kuò)展指令,給出具體的指令格式編碼;然后基于這些擴(kuò)展指令,用Verilog HDL語(yǔ)言實(shí)現(xiàn)了協(xié)處理器內(nèi)核的基本系統(tǒng)結(jié)構(gòu),并針對(duì)協(xié)處理器的精度優(yōu)化提出了增加一個(gè)標(biāo)志信號(hào)的方法;最后針對(duì)指數(shù)函數(shù)和對(duì)數(shù)函數(shù)的各種算法及設(shè)計(jì)的協(xié)處理器進(jìn)行了功能的仿真與驗(yàn)證。
[Abstract]:Wireless communication means to exchange information by using the characteristic that electromagnetic wave signal can propagate in free space. Nowadays, more and more research on wireless communication system requires that the processor of driving device must have higher performance. Digital signal processor (DSP) has the characteristics of high speed, high integration, low power consumption, parallel structure, perfect development environment, and has the characteristics of simulation module and simulation debugging interface. Therefore, the technology of combining wireless communication with DSP chip has been applied more and more widely. The Tricore circuit studied in this paper is the integration of DSP and microcontroller (MCU) into a 32-bit CPU kernel based on reduced instruction set computer (RISC). Transcendental function is the opposite of algebraic function in the field of mathematics. It refers to the function in which the relation between variables can not be expressed by finite order addition, subtraction, multiplication, division, multiplier and square. For example, exponential function, logarithmic function, trigonometric function and anti-trigonometric function belong to transcendental function and elementary transcendental function. In this paper, we study the exponential function and the logarithmic function in the elementary transcendental function. Exponential and logarithmic operation is the inevitable operation in MAP algorithm and Log-MAP algorithm of Turbo code. The experiment shows that the complexity of exponential and logarithmic operation directly affects the efficiency of the whole algorithm. Most of the present researchers avoid exponential and logarithmic operations by changing the algorithm or function approximation, so as to simplify the operation. Aiming at this problem, this paper extends the instruction specially used for exponent and logarithmic operation on the original instruction set of Tricore circuit, and realizes its function from the circuit, which can be used to call MAP algorithm and Log-MAP algorithm, so as to reduce the computational complexity. First of all, the algorithm principle of exponential function and logarithmic function is studied in this paper, including complete look-up table method, extended look-up table method, Taylor expansion method, linear approximation method and the combination of look-up table and linear approximation. The accuracy and storage space of various algorithms are compared. Then, based on the structure of Tricore circuit and instruction set definition format, a special extended instruction for exponential and logarithmic operation is proposed, and the specific instruction format coding is given. Then, based on these extended instructions, the basic system structure of coprocessor kernel is implemented with Verilog HDL language, and a method of adding a sign signal to the precision optimization of coprocessor is proposed. Finally, various algorithms of exponential function and logarithmic function and the designed coprocessor are simulated and verified.
【學(xué)位授予單位】:西安電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP368.1
本文編號(hào):2411867
[Abstract]:Wireless communication means to exchange information by using the characteristic that electromagnetic wave signal can propagate in free space. Nowadays, more and more research on wireless communication system requires that the processor of driving device must have higher performance. Digital signal processor (DSP) has the characteristics of high speed, high integration, low power consumption, parallel structure, perfect development environment, and has the characteristics of simulation module and simulation debugging interface. Therefore, the technology of combining wireless communication with DSP chip has been applied more and more widely. The Tricore circuit studied in this paper is the integration of DSP and microcontroller (MCU) into a 32-bit CPU kernel based on reduced instruction set computer (RISC). Transcendental function is the opposite of algebraic function in the field of mathematics. It refers to the function in which the relation between variables can not be expressed by finite order addition, subtraction, multiplication, division, multiplier and square. For example, exponential function, logarithmic function, trigonometric function and anti-trigonometric function belong to transcendental function and elementary transcendental function. In this paper, we study the exponential function and the logarithmic function in the elementary transcendental function. Exponential and logarithmic operation is the inevitable operation in MAP algorithm and Log-MAP algorithm of Turbo code. The experiment shows that the complexity of exponential and logarithmic operation directly affects the efficiency of the whole algorithm. Most of the present researchers avoid exponential and logarithmic operations by changing the algorithm or function approximation, so as to simplify the operation. Aiming at this problem, this paper extends the instruction specially used for exponent and logarithmic operation on the original instruction set of Tricore circuit, and realizes its function from the circuit, which can be used to call MAP algorithm and Log-MAP algorithm, so as to reduce the computational complexity. First of all, the algorithm principle of exponential function and logarithmic function is studied in this paper, including complete look-up table method, extended look-up table method, Taylor expansion method, linear approximation method and the combination of look-up table and linear approximation. The accuracy and storage space of various algorithms are compared. Then, based on the structure of Tricore circuit and instruction set definition format, a special extended instruction for exponential and logarithmic operation is proposed, and the specific instruction format coding is given. Then, based on these extended instructions, the basic system structure of coprocessor kernel is implemented with Verilog HDL language, and a method of adding a sign signal to the precision optimization of coprocessor is proposed. Finally, various algorithms of exponential function and logarithmic function and the designed coprocessor are simulated and verified.
【學(xué)位授予單位】:西安電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP368.1
【參考文獻(xiàn)】
相關(guān)會(huì)議論文 前1條
1 李睿;胡劍浩;李少謙;;指數(shù)“擬和”的FPGA實(shí)現(xiàn)[A];2006中國(guó)西部青年通信學(xué)術(shù)會(huì)議論文集[C];2006年
本文編號(hào):2411867
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2411867.html
最近更新
教材專著