Search Engine **www.edaboard.com**

## Random Number Generator |

Are you looking for?:

pseudo random number generator , random number generator lfsr , lfsr random number generator , random number generator source

pseudo random number generator , random number generator lfsr , lfsr random number generator , random number generator source

80 Threads found on edaboard.com: **Random Number Generator**

Hi All,
I want to generate a true **random** **number** in Actel ProAsic3 FPGA development board which operates at 48 MHz. I tried to implement it using ring oscillators (RO) and used the system clock i.e. 48 MHz as sampling frequency. As the sampling period is around 48 MHz => 21 ns, the RO period should at least be double the sampling frequency, i.e.

PLD, SPLD, GAL, CPLD, FPGA Design :: 03-30-2017 05:47 :: Sumathigokul :: Replies: **2** :: Views: **341**

I am trying to generate TRUE **random** **number**s on Kintex-7. I am following the paper published by Xilinx, where a ring oscillator is used for **random** **number** generation and LHCA has been used as a scrambler.
BUT, whenever I capture 11 Mega bytes of data (True **random** **number**s) and pass them (...)

PLD, SPLD, GAL, CPLD, FPGA Design :: 04-25-2016 03:56 :: gtushar :: Replies: **1** :: Views: **503**

Hi,
look for "Pseudo **random** **number** **generator**" using shift registers with feedback.
I´ve used it with AVRs and assembler, but not on PICs.
Klaus

Microcontrollers :: 12-16-2015 13:22 :: KlausST :: Replies: **3** :: Views: **603**

Hi All
I have a problem to NOISE Analysis in HSPICE 2013.
I am working on True **random** **number** **generator** based on Metastability.
I have to simulate a circuit in HSPICE and I have to analysis the Noise.
Can any one to help me?

Analog Circuit Design :: 11-22-2015 19:47 :: afsharizqi :: Replies: **0** :: Views: **543**

how can I .... generate **random** bits?
If this is what you want, then the best way is to use a pseudo-**random** sequence **generator**, PRSQ.
Is this for BER testing?
If so what bit rate and length of pattern ?
There are many different lengths using prime **number** of shift registers for Maximal length PRSG designs using shift (...)

Analog Circuit Design :: 07-09-2015 02:12 :: SunnySkyguy :: Replies: **3** :: Views: **833**

Hi Guys.
Recently, I'm getting interested in the PRN **generator** Using Linear Feedback Shifting Register(LFSR).
If Low Power Performance is desired, which Logic Type and clock strategy are preferred.

Analog Circuit Design :: 11-15-2014 07:08 :: abonic :: Replies: **1** :: Views: **544**

I am using a Bernoulii Binary **generator** to generate my data signal for a Direct sequence spread spectrum model I am designing on SIMULINK. The specifications of the **generator** block is as follows :
Probability of zero : 0.5
Initial seed : 61 ( **random** **number** )
sample time : 0.6
Frame based outputs
Samples per frame : (...)

Digital Signal Processing :: 04-24-2014 05:38 :: Preethi21 :: Replies: **0** :: Views: **651**

@Trickedeasy
Whether the seed are initialised to a particular **number** or left uninitialised, for both cases, same sequence of **random** **number** are generated
I think this is not true for a LFSR **generator**. probably you could not load your LFSR correctly or mot simulating enough time.
I need **random** seed values (...)

PLD, SPLD, GAL, CPLD, FPGA Design :: 09-13-2013 13:47 :: Port Map :: Replies: **8** :: Views: **1044**

Hi all,
Can any body plz give me code to generate 4 digit **random** **number** which should not be repeated if appear once until all 9998 combinations. Code should run in KEIL for ARM. I wrote one with '**random**ize ()' and **random** function which is giving an error in KEIL.
Plz guide.

Microcontrollers :: 06-03-2013 06:21 :: djc :: Replies: **5** :: Views: **749**

The Monte Carlo process isn't truly **random**. It uses a pseudo **random** **number** **generator** based on a seed value. If you don't change the seed you will get identical results from two groups of Monte Carlo runs. I have never experimented with netlist order but it seems reasonable that changing that will change the results. The (...)

ASIC Design Methodologies and Tools (Digital) :: 05-26-2013 07:43 :: keith1200rs :: Replies: **2** :: Views: **1308**

randn('state',0); initiate the **random** **number** **generator**

Digital communication :: 05-12-2013 00:06 :: mohammed.anpr :: Replies: **15** :: Views: **5656**

I am trying to build a simple transmitter and receiver in simulink. Output of **random** **number** **generator** multiplied with PN **generator**. Then, after bpsk modulation and raised cosine pulse shaping it is fed to awgn channel. I need to know the parameters for this design and ways to reduce BER.

Digital Signal Processing :: 12-27-2012 00:18 :: sakib501 :: Replies: **6** :: Views: **2016**

To clarify, the upper two bits as the feedback taps only works for a few lengths. Simply try a 3b lfsr, 4b lfsr, and 5b lfsr. The 3b/4b will work, but the 5b lfsr will have cycles of different length based on the initial value of the state register. If you want to use two taps, try the 15b lfsr as the two msb's are correct for a sequence of leng

PLD, SPLD, GAL, CPLD, FPGA Design :: 12-15-2012 03:25 :: permute :: Replies: **2** :: Views: **1002**

Digital communication :: 11-23-2012 16:10 :: tpetar :: Replies: **1** :: Views: **2877**

I made a true **random** **number** **generator** from a 74HC595 shift register and a 74HC04 hex inverter. With the addition of a 4538 precision monostable and a few passive components, I had a **random**ly twirling laser cat

Show your DIY :: 10-18-2012 06:58 :: t0m :: Replies: **1** :: Views: **970**

Possibly, but the **number** may be cyclic because the timer will update at a regular rate and will always have the same start value. In other words, you may get something which looks **random** but gives the same pattern sequence after each processor reset. If you are finding a truly **random** sequence I would suspect it is because 'i' and 'start' (...)

Microcontrollers :: 08-02-2012 05:36 :: betwixt :: Replies: **1** :: Views: **695**

You've done everything and asking for how to do it !!!
you need to generate 8-bit pseudo **random** **generator** and want to show that combination through 8 LEDs , Right ?
Now you've already done with 8 bit pseudo **random** **number** **generator** and need an assemble code to display as well as to store on flash !!!
Here (...)

Microcontrollers :: 07-27-2012 05:28 :: Jigar 4 Electronics :: Replies: **2** :: Views: **734**

Im trying to make 2 **random** **number** simultaneously, using timer 0. but im not sure how to. i also heard that timer 2 can be used as well. can any 1 help me with a sample code.
this is my code:
#include
#include
void ISR (void);
char i,start,end;
#pragma code L_vector=0x18
void L_vector(void){
_asm goto I

Microcontrollers :: 07-26-2012 01:14 :: poop911 :: Replies: **0** :: Views: **1479**

I have a problem with the **random** **number** **generator** function with MPLAB c programming.
We use rand() to generate 2 **number**s, but the 1st **number** is generated **random**ly in odd sequence and the other **number** is generated **random**ly in even sequence. The (...)

Microcontrollers :: 06-21-2012 07:54 :: gordon the light :: Replies: **4** :: Views: **910**

Hi
write an LFST code **generator**(u can find on the net) then treat its output as a floating point **number** between 0 and 1 then multiply it by a **number** that you want to have jitter for example you want to have 0 to 10 percent jitter so multply by 10 then you will have a **random** **number** between 0 and ten. then (...)

PLD, SPLD, GAL, CPLD, FPGA Design :: 06-13-2012 08:27 :: hamed_sotoudi :: Replies: **8** :: Views: **2028**

Is this procedure declarations allowed?
process ( gtx0_txusrclk2_i)
VARIABLE seed1, seed2: positive := 3 ; -- Seed values for **random** **generator**
VARIABLE rand: real; -- **random** real-**number** value in range 0 to 1.0
VARIABLE int_rand: integer; (...)

PLD, SPLD, GAL, CPLD, FPGA Design :: 05-10-2012 06:26 :: xtcx :: Replies: **4** :: Views: **4056**

but If I want to display exact percentage how should I do??
Using a **random** **number** **generator** will produce a similar accuracy of "exact percentage". Forget about it.
Quantitative air content measurements requires:
- a selective sensor principle
- a stable sensor
- calibration
SnO2 sensors like MQ-6 can't provide selectivity or

Microcontrollers :: 03-10-2012 10:24 :: FvM :: Replies: **7** :: Views: **1583**

To use as a mobile jammer, you want to create a circuit with a strong signal power and feed input data from long pseudo-**random** **number** **generator**. the **random** **number** creates the "noise" and the signal power and frequency the jamming.

RF, Microwave, Antennas and Optics :: 11-29-2011 18:53 :: steadymind :: Replies: **5** :: Views: **1756**

See the following IP core from,
LFSR-**random** **number** **generator** :: Overview :: OpenCores

PLD, SPLD, GAL, CPLD, FPGA Design :: 10-21-2011 03:59 :: vipinlal :: Replies: **3** :: Views: **1481**

366,
If you rotate motor and higher speed the frequency won't be 50Hz. You can not run the **generator** at **random** to get 50Hz, as the shaft speed and **number** of pole are directly proportional to frequency. See here the example for more Motor Speed Controller
Getting more voltage and

Power Electronics :: 10-19-2011 13:35 :: Raza :: Replies: **5** :: Views: **3015**

Help me please ..............
I want to try the MT8888 as a tone **generator**, but I'm still confused registers control setting ....
under the program is intended to issue a regular tone tone **number**s 1,2,3 ... 0 but in fact the release is not the case, even a **random** **number** (9,1,3,5,7,9, etc.) .. every single issue rate tone (...)

Microcontrollers :: 09-12-2011 11:52 :: Li_ereunpisan :: Replies: **1** :: Views: **1097**

Hi friends,
I need to convert the following C++ code to c. The commented lines are C++ original and else is what I have done.
/*#include */
/*#include */
/*using namespace std;*/
#include
#include
/*class BasicLCG {*/
/* */
/* private:*/
/* unsigned long iCurrent;*/
/* public:*/
/*

PC Programming and Interfacing :: 09-09-2011 09:19 :: soloktanjung :: Replies: **3** :: Views: **1379**

Hi zuzu,
If you rand() **generator** gives **random** **number**s in 16 bits, and you need **number**s ranging from 0 to 2047 (i.e. 11 bits) you can call rand() function and take the 11 least significant bits of the value it returns.
This does not give a cycle of 2048 values, but longer (with pseudo-**random** repetitions). (...)

Digital communication :: 08-29-2011 18:05 :: zorro :: Replies: **6** :: Views: **946**

1- First pocket LWT in fifth resolution level with Haar filter is performed on discrete samples and integer coefficients are resulted in this way.
2- Absolute threshold is calculated using these Temporal Signal coefficients.
3- The order of binary string is disordered by employing a **random** **number** **generator** and a secret key.
4- Considering (...)

Digital Signal Processing :: 04-29-2011 14:58 :: sheenam :: Replies: **0** :: Views: **1928**

Check out this project:
LFSR-**random** **number** **generator** :: Overview :: OpenCores
The possible inputs can be:
1)a generic parameter which decides the period of the sequence generated.
2)seed of the lfsr.
3)(may be, not always required) an output enable.
4)a clock.
output of lfsr is the **random** sequence.

PLD, SPLD, GAL, CPLD, FPGA Design :: 04-19-2011 03:26 :: vipinlal :: Replies: **7** :: Views: **1339**

I have found the following in the Internet a long time ago, it is a **random** **number** **generator** function,
I usually pass a value from a timer to it
**random** **number** **generator**
#define M 0x7FFFFFFF // 2^31-1, the modulus used by the psuedo-**random**
long int

Microcontrollers :: 02-27-2011 23:44 :: alexan_e :: Replies: **3** :: Views: **1131**

Hi,
For pseudo-**random** code generation, check these links:
PIC Microcontoller Math Methods - Quick little 8 bit **random** **number** **generator**s
PIC Microcontoller Math Method - **random** **number** **generator** for the 16F876 using timer 0

Elementary Electronic Questions :: 12-10-2010 14:46 :: Tahmid :: Replies: **3** :: Views: **2126**

I have code for Linear feedback shift register. It is not a **random** **number** **generator** in the strict sense. But must be useful in some cases.Download it from opencore.org:
LFSR-**random** **number** **generator** :: Overview :: OpenCores

PLD, SPLD, GAL, CPLD, FPGA Design :: 10-20-2010 13:57 :: vipinlal :: Replies: **3** :: Views: **3177**

I searched for some VHDL codes, there are not many on the web btw
for PN sequence generation, check this:
for Scrambling there was a relevant post on this forum:
www.edaboar

Digital communication :: 07-30-2010 14:49 :: Ahmed Alaa :: Replies: **4** :: Views: **1062**

Anyone has experience about trng in this photo. I think this design is relatively easy to implement, but i need more information and advice.

ASIC Design Methodologies and Tools (Digital) :: 07-29-2010 07:10 :: elone :: Replies: **0** :: Views: **808**

Using $**random**() you can do it. But you need to write a small code to it.
In the below link
Search for "generate **random** **number**s without repetition"

PLD, SPLD, GAL, CPLD, FPGA Design :: 06-03-2010 03:59 :: www.testbench.in :: Replies: **2** :: Views: **1378**

Hi,
Yes . Its a kind of **random** pattern **generator** function with seed . When you simulate , the address starts with some **random** **number** (32bits ) and runs till some point where the same address will be generated again.
Try with a large seed value , you will get different pattern and of course run length.
Javi

ASIC Design Methodologies and Tools (Digital) :: 03-08-2010 14:15 :: javi :: Replies: **1** :: Views: **650**

I'm curious if anyone has a fibonacci rnd **number** **generator** or even a linear congruential **generator** in verilog.

PLD, SPLD, GAL, CPLD, FPGA Design :: 03-01-2010 00:07 :: user_asic :: Replies: **0** :: Views: **2386**

Hi, I'm a old Italian student. For my thesis I have to generate a **random** **number** **generator**.......
I'm using cadence IC 5.1.41.
The problem is that i have to create a PDF (probability density function) by the simulation result.
My question is ..... How can I save a sampled value of simulation result (i.e. in waveform... ) in a txt file. (...)

ASIC Design Methodologies and Tools (Digital) :: 01-28-2010 15:31 :: vdavi81 :: Replies: **0** :: Views: **1213**

Hi
Its simple.
Use the following blocks.
1) Insert Uniform **random** **number** and change the minimum and maximum to 25 and 30.
2) Connect the Rounding Function and change function to round.
You are done!

Digital Signal Processing :: 12-15-2009 07:04 :: MHanif :: Replies: **2** :: Views: **5393**

Hi,
I want to design 128 bit RAM based Pseudo **random** **number** **generator** in FPGA (as in XAPP052)?
Can somebody help me with its implementation in VHDL?
Thanks.
Faraz

PLD, SPLD, GAL, CPLD, FPGA Design :: 04-24-2009 09:01 :: mufarish :: Replies: **0** :: Views: **1284**

Hi guys,
In verilog we can get the **random** **number** by system task $**random**(seed).
If I don't give a seed, does verilog simulator use system time as the seed
or still simulation time as the seed?
If verilog simulator doesn't use system time as the seed, how do I use
system time as the seed or how do I guarantee to have a real (...)

PC Programming and Interfacing :: 12-18-2002 09:38 :: jiang :: Replies: **6** :: Views: **14366**

Hi ,
I need to design a **random** **number** **generator** for my project.
Please anybody share the any code regarding this 10bit LFSR.
Thanks,
PSS

ASIC Design Methodologies and Tools (Digital) :: 12-19-2008 05:47 :: pradeep2323 :: Replies: **5** :: Views: **3906**

Hello Fellow Members......
I am in need of some help/guidance.
Could somebody help me out on how to go about designing a Reaction timer.
As far as I know, I need a **random** **number** **generator** which I am able to design.....
Thanks

PLD, SPLD, GAL, CPLD, FPGA Design :: 12-02-2008 01:09 :: S1nGh :: Replies: **2** :: Views: **792**

Hello
I am struggling to generate **random** **number** in term of binary **number** such as 1 and 0. Bascially I would like to generate 1 or 0 up to max 10 binary in C (for example, 1010111101). I would be very grateful if someone can provide me simple code in C.
MM

Microcontrollers :: 10-19-2008 14:32 :: Maverickmax :: Replies: **1** :: Views: **936**

i want to generate **random** **number** from 0,1,2,3.but all this **number**s are in binary.that is ,00,01,10,11.i want the vhdl code for this task.pleae help on this.

PLD, SPLD, GAL, CPLD, FPGA Design :: 05-14-2008 04:25 :: ruwanika :: Replies: **1** :: Views: **1195**

how we will interface **random** **number** **generator** using 8051 microcontroller with spartan 3E fpga???

Microcontrollers :: 04-03-2008 04:58 :: abhi_459 :: Replies: **0** :: Views: **757**

do you want to simulate the thermal noise in transient simulation? this is a difficulty thing. in cadence you can use verilog-A model to model white noise in which it uses **random** **number** **generator**(RNG), so you can try to look for RNG in hspice for white noise model.

Analog Circuit Design :: 03-30-2008 03:29 :: jiangxb :: Replies: **7** :: Views: **5240**

Hi,
I want to design a truly **random** **number** **generator**, I want to simulate it in verilog-A.
So I want to get a white-noise source as the **random** **number** input.
But I write the verilog-A code as follow, but it can not work.
module noise (out);
output out;
electrical out;
parameter real r = 100K; (...)

Analog Circuit Design :: 03-26-2008 12:55 :: gaom9 :: Replies: **1** :: Views: **5074**

Ask away - although im not on here much.
An is pseudo **random** 64 bit value so it can be anything. I use LFSR **random** **number** **generator** to do this.
It can also just be constant, or even 0.
Anything will do really!

ASIC Design Methodologies and Tools (Digital) :: 12-03-2007 11:44 :: joc_06 :: Replies: **2** :: Views: **862**

Last searching phrases:

nevertheless | dav dz231 | forth | wmp 560 | vel satis | weng cho chew | nevertheless | adxl 335 acelerometer | imi 411 | allamat 295

nevertheless | dav dz231 | forth | wmp 560 | vel satis | weng cho chew | nevertheless | adxl 335 acelerometer | imi 411 | allamat 295