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.

random generator with exponential distribution with verilog

Status
Not open for further replies.

albert_new

Newbie level 3
Newbie level 3
Joined
Jul 27, 2013
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
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
 

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.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top