The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 3rd, 2024, 9:14am
Pages: 1
Send Topic Print
Compiler Error of Verilog-A in Cadence-$dist_norm (Read 98 times)
littlekoala
New Member
*
Offline



Posts: 5

Compiler Error of Verilog-A in Cadence-$dist_norm
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
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Compiler Error of Verilog-A in Cadence-$dist_n
Reply #1 - 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
Back to top
 
 
View Profile WWW   IP Logged
jbdavid
Community Fellow
*****
Offline



Posts: 378
Silicon Valley
Re: Compiler Error of Verilog-A in Cadence-$dist_n
Reply #2 - 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
Back to top
 
 

jbdavid
Mixed Signal Design Verification
View Profile WWW   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Compiler Error of Verilog-A in Cadence-$dist_n
Reply #3 - 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
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.