基于FPGA的高斯隨機(jī)數(shù)發(fā)生器的設(shè)計(jì)與實(shí)現(xiàn)
本文關(guān)鍵詞:基于FPGA的高斯隨機(jī)數(shù)發(fā)生器的設(shè)計(jì)與實(shí)現(xiàn) 出處:《華南理工大學(xué)》2013年碩士論文 論文類型:學(xué)位論文
更多相關(guān)文章: 高斯隨機(jī)數(shù) Ziggurat高斯隨機(jī)數(shù)發(fā)生器 FPGA 冗余乘法器 Booth編碼
【摘要】:高斯隨機(jī)數(shù)在通信和雷達(dá)系統(tǒng)、航空航天、脈沖測(cè)距、蒙特卡羅模擬硬件加速器等領(lǐng)域獲得了廣泛應(yīng)用,F(xiàn)有硬件實(shí)現(xiàn)的高斯隨機(jī)數(shù)發(fā)生器存在結(jié)構(gòu)復(fù)雜、設(shè)計(jì)周期長(zhǎng)等不足,本文對(duì)Ziggurat高斯隨機(jī)數(shù)發(fā)生器和定點(diǎn)乘法器進(jìn)行改進(jìn),以減少硬件資源,提高工作頻率。完成的研究工作具體如下: 第一,本文提出的嵌套分割高斯隨機(jī)數(shù)發(fā)生器將高斯分布概率密度函數(shù)分為頂部、中部、尾部三個(gè)子區(qū)域,并分別進(jìn)行分層嵌套分割,有效提高了對(duì)概率密度函數(shù)的近似精度,輸出隨機(jī)數(shù)最大值從4.3提高到8.7。分割后以正比于矩形面積的概率隨機(jī)選擇一個(gè)矩形區(qū)域,生成概率密度函數(shù)為對(duì)應(yīng)矩形的隨機(jī)數(shù)點(diǎn),其橫坐標(biāo)即為輸出的高斯隨機(jī)數(shù)。在此基礎(chǔ)上完成了改進(jìn)后隨機(jī)數(shù)發(fā)生器整體架構(gòu)、均勻分布隨機(jī)數(shù)發(fā)生器模塊、尾部區(qū)域模塊、頂部區(qū)域模塊等關(guān)鍵電路的設(shè)計(jì)和仿真。 第二,乘法器作為嵌套分割隨機(jī)數(shù)發(fā)生器中重要模塊,對(duì)隨機(jī)數(shù)發(fā)生器性能有著重要影響。本文基于Radix-16冗余Booth編碼,將奇數(shù)倍部分積改用冗余差分形式表示,改進(jìn)后需要計(jì)算的奇數(shù)倍被乘數(shù)從1個(gè)減少到0個(gè)。將改進(jìn)結(jié)構(gòu)推廣到Radix-32和Radix-64乘法器,奇數(shù)倍被乘數(shù)個(gè)數(shù)從3個(gè)和7個(gè)分別減少到1個(gè),簡(jiǎn)化了控制信號(hào)產(chǎn)生電路和Booth解碼電路,減少了硬件資源使用和延時(shí)。 第三,本文對(duì)傳統(tǒng)部分積修正方法改進(jìn),將修正位與部分積進(jìn)行壓縮,可將部分積數(shù)量從5個(gè)減少為4個(gè)。改進(jìn)后部分積低7位到達(dá)二進(jìn)制轉(zhuǎn)換電路時(shí)間更早,簡(jiǎn)化了二進(jìn)制轉(zhuǎn)換電路結(jié)構(gòu),降低了乘法器延時(shí)和面積。TSMC180nm工藝下Design Complier綜合結(jié)果表明,本文改進(jìn)乘法器相對(duì)傳統(tǒng)冗余乘法器面積減少8%,延時(shí)減少11%。 最后,在FPGA上對(duì)改進(jìn)的隨機(jī)數(shù)發(fā)生器綜合,相比Ziggurat隨機(jī)數(shù)發(fā)生器硬件資源減少9.0%、速度提升8.2%;統(tǒng)計(jì)檢驗(yàn)表明生成的隨機(jī)數(shù)服從高斯分布;將本文隨機(jī)數(shù)發(fā)生器應(yīng)用于蒙特卡羅模擬FPGA硬件加速器中,驗(yàn)證了隨機(jī)數(shù)發(fā)生器的有效性。 綜上所述,本文提出的嵌套分割隨機(jī)數(shù)發(fā)生器和改進(jìn)乘法器可有效減少硬件資源,提高隨機(jī)數(shù)發(fā)生器吞吐率,,達(dá)到了設(shè)計(jì)目標(biāo)。
[Abstract]:The Gauss random number in communication and radar systems, aerospace, pulse ranging, Monte Carlo simulation hardware accelerator is widely used. The Gauss random number generator existing hardware implementation has complicated structure, long design period, this paper improves Ziggurat Gauss random number generator and the fixed-point multiplier, in order to reduce the hardware resources, improve the working frequency of the completion of the research work as follows:
First, the proposed nested segmentation Gauss random number generator Gauss distribution probability density function is divided into top, middle and tail of three sub regions, which were hierarchical nested segmentation, effectively improve the approximation accuracy of the probability density function of the random number, output the maximum value increased from 4.3 to 8.7. after the split in proportion to the random selection of rectangular the area of the probability of a rectangular area, generating probability density function of random points corresponding to rectangular, the abscissa is the Gauss random number output. Based on the improved random number generator overall structure, uniform random number generator module, rear area module, design and Simulation of the key circuit module area at the top..
Second, as an important module multiplier nested partition random number generator, and has an important influence on the performance of the random number generator. The Radix-16 redundant Booth encoding based on the odd times of partial product with redundant differential form, the improved calculation need odd times the multiplicand is reduced from 1 to 0. The improved structure is extended to Radix-32 and the Radix-64 multiplier, the number of odd times of the multiplicand from 3 and 7 respectively reduced to 1, simplifies the control signal generating circuit and a Booth decoding circuit, reducing the use of hardware resources and time delay.
Third, improve the traditional correction method of partial product, and will correct the partial product compression, the number of partial products reduced from 5 to 4. The improved partial product low 7 bit binary conversion circuit at earlier time, simplified binary conversion circuit structure, reduced by Design Complier adder delay and comprehensive results the area under the.TSMC180nm technology show that the improved multiplier multiplier area decreased by 8% compared with the traditional redundancy, reduce the delay of 11%.
Finally, the random number generator comprehensive improvement in FPGA, compared with Ziggurat random number generator hardware resource is reduced by 9%, speed increased by 8.2%; the statistical tests show that the generated random number obeys Gauss distribution; the application of random number generator in Monte Carlo simulation of FPGA hardware accelerator, to verify the effectiveness of the random number generator.
To sum up, the nested split random number generator and improved multiplier proposed in this paper can effectively reduce hardware resources and improve the throughput of random number generator, and achieve the design goal.
【學(xué)位授予單位】:華南理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP346;TN791
【參考文獻(xiàn)】
相關(guān)期刊論文 前7條
1 蔣樂(lè);馮文全;;高性能可編程高斯白噪聲的設(shè)計(jì)與實(shí)現(xiàn)[J];電子技術(shù)應(yīng)用;2006年08期
2 谷曉忱;張民選;;一種基于FPGA的高斯隨機(jī)數(shù)生成器的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)學(xué)報(bào);2011年01期
3 顏曉東;李樹(shù)國(guó);;二次Booth編碼的大數(shù)乘法器設(shè)計(jì)[J];清華大學(xué)學(xué)報(bào)(自然科學(xué)版);2007年10期
4 黃本雄;侯潔;胡海;;高斯白噪聲發(fā)生器在FPGA中的實(shí)現(xiàn)[J];微計(jì)算機(jī)信息;2007年20期
5 申艷;王新民;陳后金;;基于FPGA的高斯白噪聲發(fā)生器設(shè)計(jì)[J];現(xiàn)代電子技術(shù);2009年23期
6 王林;芮國(guó)勝;田文飚;;基于FPGA的高斯白噪聲生成[J];現(xiàn)代電子技術(shù);2011年03期
7 馮建群;文海明;;高斯白噪聲發(fā)生器的FPGA實(shí)現(xiàn)[J];微型機(jī)與應(yīng)用;2012年21期
相關(guān)博士學(xué)位論文 前1條
1 谷曉忱;并行蒙特卡羅計(jì)算硬件加速器的關(guān)鍵技術(shù)研究[D];國(guó)防科學(xué)技術(shù)大學(xué);2010年
相關(guān)碩士學(xué)位論文 前5條
1 王祺皓;基于FPGA的多信道通信系統(tǒng)的研究[D];上海交通大學(xué);2011年
2 樓久懷;不同分布的隨機(jī)數(shù)發(fā)生器的研究和設(shè)計(jì)[D];浙江大學(xué);2006年
3 王靈芝;用FPGA產(chǎn)生高斯隨機(jī)數(shù)及其在量子密碼中的應(yīng)用[D];福州大學(xué);2006年
4 錢(qián)柳羲;高斯隨機(jī)數(shù)發(fā)生器的研究與設(shè)計(jì)[D];電子科技大學(xué);2009年
5 于高尚;脈沖通信測(cè)距復(fù)合系統(tǒng)技術(shù)研究[D];中國(guó)科學(xué)院研究生院(空間科學(xué)與應(yīng)用研究中心);2009年
本文編號(hào):1375375
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1375375.html