摘要
舍选法是广泛应用的基于均匀分布产生任意分布随机数序列的方法.文中针对舍选法接受效率低的缺点提出一种改进方案,将舍选法中本该舍弃的样本通过映射转换成可接受的样本,提高了接受效率.根据改进的舍选法设计了一种任意分布的伪随机数发生器,利用线性反馈移位寄存器产生均匀分布随机数序列,在此基础上运用改进舍选法产生任意分布随机数,并在现场可编程门阵列(field programmable gate array,FPGA)上实现.对不同分布的实验结果表明,该设计具有输出效率高、通用性强的优点.
Acceptance-rejection is a widely used method to generate arbitrarily distributed pseudo-random numbers from uniformly distributed pseudo-random numbers. This paper proposes a method to improve accepting efficiency. The method transforms samples that are discarded in the original method into accept- able ones to improve efficiency. With the improved acceptance-rejection method, an arbitrarily distributed pseudo-random number generator is designed, which uses a linear feedback shift register to produce uniformly distributed pseudo-random numbers, and then uses the improved acceptance-rejection scheme to generate ar- bitrarily distributed pseudo-random numbers. The design is implemented on FPGA. The experimental results show that the design has high output efficiency and wide applicability.
出处
《应用科学学报》
EI
CAS
CSCD
北大核心
2012年第3期306-310,共5页
Journal of Applied Sciences
基金
国家自然科学基金(No.60576033)
国家"863"高技术研究发展计划基金(No.2007AA04Z423
No.2006AA01Z106)
福建省自然科学基金(No.2008J04001)
厦门市科技项目基金(No.3502Z20083031)资助
关键词
任意分布随机数
改进的舍选法
线性反馈移位寄存器
现场可编程门阵列
arbitrary distribution random number, improved acceptance-rejection, linear feedback shift reg-ister, field programmable gate array (FPGA)