fullstop
New Member
Offline
Posts: 3
|
Hi , I am trying to generate random number normally distributed at every time stamp of my transient simulations. this is module I am using.
`include "constants.vams" `include "disciplines.vams"
module distcheck (pinout) ; electrical pinout ; integer seed ; real rrandnum,counter=0.0 ; analog begin @ (initial_step) begin seed = 0 ; end counter=counter+1; rrandnum = abs($dist_normal( seed,0,1)) ; V(pinout) <+ rrandnum; end // of analog block endmodule
but when i check the output it is giving me weibull and not normal distribution,
can anybody please help me on this
thanks a lot in advance
|