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.

random generator with exponential distribution with verilog

Status
Not open for further replies.

albert_new

Newbie level 3
Joined
Jul 27, 2013
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
20
Hi all,

I want to generate random signal with exponential distribution (exp(T/tau) tau is my constant) in verilog. Could you please advice me how I should do it?

Sincerely, Albert
 

shaiko

Advanced Member level 5
Joined
Aug 20, 2011
Messages
2,644
Helped
303
Reputation
608
Reaction score
297
Trophy points
1,363
Activity points
18,300
You're in the wrong forum.
 

albert_new

Newbie level 3
Joined
Jul 27, 2013
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
20
I think I found it: something like that

reg [15:0] a ;
initial begin
a = $dist_exponential(60, 24);
end
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top