Hi Guys,
I have verilog-AMS code as below. I want to have random variation for cap15.
Code: parameter real c15 = 5.12p from (0:inf);
real cap15, ....
initial begin
cap15 = ($rdist_normal(1,0,1)*0.001*sqrt(2^10)+1)*c15;
end
However it stops in elaboration and reports
Quote: Elaborating the design hierarchy:
ncelab: *N,SFEDPL: Deploying new SFE in analog engine.
Discipline resolution Pass...
Building instance overlay tables: ................
cap15 = ($rdist_normal(1,0,1)*0.001*sqrt(2^10)+1)*c15;
|
ncelab: *E,EXNOSUP (./dac.vams,38|24): In AMS Designer, the shown system function is not supported outside the analog block.
.... Done
ncverilog: *E,ELBERR: Error during elaboration (status 1), exiting.
Unfortunately, AMS designer does not compatible with Verilog-AMS LRM version 2.3 fully. What can I do?
Thanks
Yawei