Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
Hi all, I am working on TMS320VC5510 kit. I want to use a "uniform noise genrator". Does anybody have (or TI provide) assembly optimized "uniform noise generator" along with its corresponding C floating point (C fixed point also if possible) source code, so that I can change my native C- (floating and fixed point) source code according to the one which is optimized for TIC5510. Thanks in advance.. Ranjeeta
Hi Ranjeeta, You can try TI DSPLIB v2.31 from http://focus.ti.com/docs/toolsw/folders/print/sprc100.html and is free. search for rand16() for random number generator, and remember to initialize using rand16init(). rgds, soontoong Hi all, > >I am working on TMS320VC5510 kit. I want to use a "uniform noise genrator". Does anybody have (or TI provide) assembly optimized "uniform noise generator" along with its corresponding C floating point (C fixed point also if possible) source code, so that I can change my native C- (floating and fixed point) source code according to the one which is optimized for TIC5510. > >Thanks in advance.. >Ranjeeta
Hi Ranjeeta, I have also found that a 16-bit fixed point adaptation of the code at http://random.mat.sbg.ac.at/ftp/pub/data/tt800.c is also very fast - even without assembly coding. The code implements a version of the Fibonacci generator, which is supposedly better for Monte-Carlo simulations, and certainly has a longer repeat period than rand16 (2^800 rather than 2^16). Regards, Timothy -----Original Message----- From: c...@yahoogroups.com [mailto:c...@yahoogroups.com] On Behalf Of x...@gmail.com Sent: Tuesday, 10 April 2007 6:29 PM To: c...@yahoogroups.com Subject: [c55x] Re: Optimized uniform noise generator Hi Ranjeeta, You can try TI DSPLIB v2.31 from http://focus.ti.com/docs/toolsw/folders/print/sprc100.html <http://focus.ti.com/docs/toolsw/folders/print/sprc100.html> and is free. search for rand16() for random number generator, and remember to initialize using rand16init(). rgds, soontoong Hi all, > >I am working on TMS320VC5510 kit. I want to use a "uniform noise genrator". Does anybody have (or TI provide) assembly optimized "uniform noise generator" along with its corresponding C floating point (C fixed point also if possible) source code, so that I can change my native C- (floating and fixed point) source code according to the one which is optimized for TIC5510. > >Thanks in advance.. >Ranjeeta