applied patches from S. Held, addition of scansim.c and PHY files for UE band scanning
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6475 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -281,11 +281,11 @@ void load_pbch_desc(FILE *pbch_file_fd);
|
||||
* @defgroup _taus_ Tausworthe Uniform Random Variable Generator
|
||||
* @ingroup _numerical_
|
||||
* @{
|
||||
\fn inline unsigned int taus()
|
||||
\fn unsigned int taus()
|
||||
\brief Tausworthe Uniform Random Generator. This is based on the hardware implementation described in
|
||||
Lee et al, "A Hardware Gaussian Noise Generator Usign the Box-Muller Method and its Error Analysis," IEEE Trans. on Computers, 2006.
|
||||
*/
|
||||
inline unsigned int taus(void);
|
||||
unsigned int taus(void);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -47,7 +47,7 @@ unsigned int s0, s1, s2, b;
|
||||
*/
|
||||
//
|
||||
|
||||
inline unsigned int taus(void) {
|
||||
unsigned int taus(void) {
|
||||
|
||||
b = (((s0 << 13) ^ s0) >> 19);
|
||||
s0 = (((s0 & 0xFFFFFFFE) << 12)^ b);
|
||||
|
||||
Reference in New Issue
Block a user