The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 16th, 2024, 4:30pm
Pages: 1
Send Topic Print
parameter array declaration error (Read 193 times)
Pavel
Senior Member
****
Offline



Posts: 174
Lausanne/Switzerland
parameter array declaration error
Apr 17th, 2007, 5:04am
 
Hello

In my code I try to use the similar instruction as in example in chapter 3.2.3 "Parameter arrays" of Verilog-AMS
Language Reference Manual
:

Code:
parameter real fpoles [0:4] = {5.727, 1.24E+07, 1.84E+07, 2.38E+07, -3.57E+07}; 



The parser gives the following error message:

In Affirma-AMS, parameter array declaration is not supported.

Where am I wrong?

Regards

Pavel
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: parameter array declaration error
Reply #1 - Apr 17th, 2007, 6:52am
 
Parameter arrays are not supported in Verilog 1364-2005 (they are in SystemVerilog 1800-2005), so your AMS simulator may not haveimplemented the feature.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pavel
Senior Member
****
Offline



Posts: 174
Lausanne/Switzerland
Re: parameter array declaration error
Reply #2 - Apr 17th, 2007, 6:55am
 
But why this feature figures in Verilog-AMS Language Reference Manual ?
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: parameter array declaration error
Reply #3 - Apr 18th, 2007, 8:55am
 
Parameter arrays are an extension supported in Verilog-AMS.  I'm just saying, a number of AMS simulators are really Verilog-1364 simulators with some amount of the AMS extensions supported, and it looks like yours doesn't have everything you want.

The simulator message does seem to indicate that the vendor knows it's a valid construct, but unsupported.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pavel
Senior Member
****
Offline



Posts: 174
Lausanne/Switzerland
Re: parameter array declaration error
Reply #4 - Apr 19th, 2007, 1:58am
 
Ok, thanks Geoffrey,

Just for curiosity (if you know) what simulators support all verilog-AMS features/extensions.
I use ncsim (Cadence).

Regards.

Pavel.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: parameter array declaration error
Reply #5 - Apr 19th, 2007, 5:24am
 
To my knowledge, no simulator supports the *full* LRM 2.2 ...
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
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.