The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Simulators >> AMS Simulators >> $rdist_xxx not supported outside the analog block in AMS Designer https://designers-guide.org/forum/YaBB.pl?num=1318150379 Message started by ywguo on Oct 9th, 2011, 1:52am |
Title: $rdist_xxx not supported outside the analog block in AMS Designer Post by ywguo on Oct 9th, 2011, 1:52am Hi Guys, I have verilog-AMS code as below. I want to have random variation for cap15. Code:
However it stops in elaboration and reports Quote:
Unfortunately, AMS designer does not compatible with Verilog-AMS LRM version 2.3 fully. What can I do? Thanks Yawei |
Title: Re: $rdist_xxx not supported outside the analog block in AMS Designer Post by boe on Oct 10th, 2011, 2:28am Hi Ywguo, I'd try the initial_step event. B O E |
Title: Re: $rdist_xxx not supported outside the analog block in AMS Designer Post by Ken Kundert on Oct 10th, 2011, 9:38am Try $dist_normal(). I think that is the name used in the digital context. -Ken |
Title: Re: $rdist_xxx not supported outside the analog block in AMS Designer Post by boe on Oct 10th, 2011, 10:37am Hi, The documentation clearly states that $rdist_xxx is not supported in digital contexts. Quote:
B O E |
Title: Re: $rdist_xxx not supported outside the analog block in AMS Designer Post by Geoffrey_Coram on Nov 4th, 2011, 5:24am Can't you re-scale the integers from $dist_normal (divide by the largest) and get something close to what you want? |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |