The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> Compiler Error of Verilog-A in Cadence-$dist_norm
https://designers-guide.org/forum/YaBB.pl?num=1156998126

Message started by littlekoala on Aug 30th, 2006, 9:22pm

Title: Compiler Error of Verilog-A in Cadence-$dist_norm
Post by littlekoala on Aug 30th, 2006, 9:22pm

Hi, there,

I am trying to model and simulate PLL jitter with the voltage-domain method introduced in Kundert's paper on the designer-guide website.

But I get a compiler error from the Cadence Verilog-A compiler, which says that the system function $dist_normal can not be included in the analog block. The original error message is as follows:

[AMS semcheck]: Error # SEM741: Digital or unknown system function '$dist_normal' found in analog block.

The tool is Cadence ICFB Version 5.1.0.



Can anybody help me out with this problm?

Thank you very much.

Littlekoala

Title: Re: Compiler Error of Verilog-A in Cadence-$dist_n
Post by Ken Kundert on Aug 30th, 2006, 10:22pm

Use $rdist_normal(). $dist_nomal() returns an integer and can only be used in a digital context, $rdist_normal() returns a real and can only be used in an analog context.

-Ken

Title: Re: Compiler Error of Verilog-A in Cadence-$dist_n
Post by jbdavid on Aug 30th, 2006, 10:42pm

I can't find any reference to $dist_normal in the 2.2 version of the LRM..
may be you can talk Ken into updating his papers to use $rdist_normal which is found..
$dist_normal existed in the Verilog spec first and the verilog-A used with spectre ALSO has to work with AMS designer which conforms to the 2.2 spec (mostly)..
jonathan

Title: Re: Compiler Error of Verilog-A in Cadence-$dist_n
Post by Ken Kundert on Aug 30th, 2006, 11:13pm

$dist_normal() was the name used by the standard some time ago, but then it was changed to $rdist_normal() when it was discovered that the analog version returned a real and the digital version returned an integer.

I have updated my paper to use $rdist_normal().

Thanks for pointing out this issue.

-Ken

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.