Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

pesudo random number generator

Status
Not open for further replies.

ipcore1981

Newbie level 5
Joined
Feb 13, 2005
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
70
pesudo random

Hi,

I need a 32-bit pesudo random number generator?

thx
 

1 to 32 random number generator circuit

Here it is !

This is a verilog model of a 32-it PRN generator which generates the max. number of random numbers.


module prn_gen32
(
reset,
clk,
init_val,
prn
);

input reset;
input clk;
input [31:0] init_val;
output prn;
wire prn;

reg [31:0] G;

always @(posedge clk)
if (reset)
G <= init_val;
else
G <= {(G[0] ^ G[2] ^ G[6] ^ G[7]), G[31:1]};

assign prn = G[0];
endmodule
 

    ipcore1981

    Points: 2
    Helpful Answer Positive Rating
ebookee

Have a look at

**broken link removed**

Efficient Shift Registers, LFSR Counters, and Long Pseudo- Random Sequence Generators
XAPP 052 July 7,1996 (Version 1.1) Application Note by Peter Alfke
 

fpga prn generator

Actually, you can serach the polynomial
in google, for the different pseudo number generator.

For different length, there is different polynmial
for it... And for different application, there is also
different generator, I think your spec already provide this, you just implement it.
 

Hi,
I need also a pesudo random number generator but with less number 0f bits (only 4 or 8 bits)
and I need to implement it with discrete componenets (no FPGA), can any one give me good circuit (preferable to be with PCB layout) that helps me to do that?

thanks alot in advance,
ahmad,
 

First, thank you for help
I didn't find a random number gen. circuit in your links
but, i need a circuit, nither a C++ Program, nor a FPGA based design.
Thanks again,
Ahmad,
 

if you see fig.3 in
h**p://www.techonline.com/community/ed_resource/feature_article/38012
you will find a circuit.

Also pg. 730, section 8.5.8 of Wakerly's Digital Design
there is another circuit.

ARROGANCE is a bad thing...!!!!!!Do your home work....
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top