The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 6th, 2024, 2:50am
Pages: 1
Send Topic Print
Error message from divider model without HiddenSta (Read 2178 times)
tumeda
Community Member
***
Offline



Posts: 37

Error message from divider model without HiddenSta
Sep 30th, 2005, 8:38am
 
Dear Ken Kundert

I reallly appreciate your answer for my previous questions. Now I tried to directly use the behavioral model codes of divider without hidden state. Unfortunately, there is an error message.
###
Error found by spectre during SpectreHDL compile.
   …...
       line 40:  Error: (Archaic Syntax) Does not comply with the Accellera
       Verilog-AMS 2.0 Standard and beyond. To comply with the current
       standard, delete the null statement. Null statements (also known as
       empty statements and coded as just `;') can be used only in case or
       event control statements.
###
After then, I deleted the semicolon ( ; ) in the line 40 and tried again. But there is still new error message:
###
Error found by spectre during SpectreHDL compile.
   ……
       line 41:  Error: analog operator `ddt' embedded in conditionally
       executed statement or expression.
###

Now, I am confused about that, what's wrong?  
My icfb version is  5.1.0 02/01/2005.

The following are only some lines of your codes.
Code:
....
analog begin
	vmax = max(abs(vdd),abs(vss));
	g = 5*ln(n);
	@(cross(V(pin,nin) - thresh, 0));

	// hold capacitor with capacitance tt
	I(vg,hold) <+ tt*ddt(V(vg,hold));

	// clamp hold capacitor during dc analysis
	if (analysis("static"))
	    I(vg,hold) <+ V(vg,hold);
		    ...
 



Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Error message from divider model without Hidde
Reply #1 - Oct 2nd, 2005, 12:38am
 
A whole bunch of extra checks were put into the verilog-a parser around the time of the version you're using - but some of these were reporting things that aren't really problems. These were fixed around March 2005 - so in IC5141 and MMSIM60 versions of spectre after that, the messages are no longer given.

I just tried the models from the hidden state paper in IC5141 USR2 and MMSIM60 ISR 10, and the warning is not given.

So use a later subversion, and the problem should go away.

Regards,

Andrew.
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.