The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 20th, 2024, 2:23pm
Pages: 1
Send Topic Print
ADE XL create local variable from verilog ams code... (Read 2100 times)
nzborsti
New Member
*
Offline



Posts: 7

ADE XL create local variable from verilog ams code...
Apr 05th, 2012, 8:46am
 
Hello to everyone,

I am new to Verilog AMS and Cadence Virtuoso and so I do have quite a few problems to get started. Maybe someone is able to help me with this one:

I wrote a simple verilog ams code for a low pass filter which includes the following line:

parameter real nst_0=1 [0:inf);

I managed to create a schematic and a config file so that I was able to run an ac analysis in ADE XL. Now I want to run the same analysis again but this time I want to have the parameter "nst_0" listed under "local variables" (on the left in the  Virtuoso ADE XL window) so that is easy to change the value for this paramter.

I already tried to assign a string " nst" to the value of "nst_0" in the "edit Object Properties" Window. After that I added a Design Variable in the Virtuoso ADE XL window named "nst" and assigned a value to this variable. But this didn't do the job cause everytime I hit the simulate button a error comes up:

ncelab: *E,CUBSPA (./netlist.vams,22|22): Assignment of string to real or integer type parameter.  

Another try was to use the "Copy from" button which comes up when you click on "add local variable" but nothing happend.

Has anyone an idea how to get this job done?

Kind regards
Back to top
 
 
View Profile   IP Logged
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
Re: ADE XL create local variable from verilog ams code...
Reply #1 - Apr 13th, 2012, 8:20am
 
I stumbled into similar problem not only with ADE-XL, but also with ADE-L. Cry
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: ADE XL create local variable from verilog ams code...
Reply #2 - Apr 16th, 2012, 8:55am
 
Hi,
did you search the forum?

- B O E
Back to top
 
 
View Profile   IP Logged
nzborsti
New Member
*
Offline



Posts: 7

Re: ADE XL create local variable from verilog ams code...
Reply #3 - Apr 20th, 2012, 6:10am
 
Hi,
I have been looking quite a while but so far no success. Any one out there who is able to help????
thx
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: ADE XL create local variable from verilog ams code...
Reply #4 - Apr 20th, 2012, 12:34pm
 
Hi,
last year, we had a discussion about this here...

- B O E
Back to top
 
 
View Profile   IP Logged
nzborsti
New Member
*
Offline



Posts: 7

Re: ADE XL create local variable from verilog ams code...
Reply #5 - Apr 23rd, 2012, 1:56am
 
Hi,
thank you very much for pointing me in the right direction. But for somereason I couldn't find the right thread. Can you please give me a link....

thx
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: ADE XL create local variable from verilog ams code...
Reply #6 - Apr 23rd, 2012, 2:33am
 
Hi,
Searching for the error message CUBSPA finds the thread
http://www.designers-guide.org/Forum/YaBB.pl?num=1297252828.

- B O E
Back to top
 
 
View Profile   IP Logged
nzborsti
New Member
*
Offline



Posts: 7

Re: ADE XL create local variable from verilog ams code...
Reply #7 - Apr 23rd, 2012, 2:41am
 
Hi,
thank you very much for pointing me in the right direction. But for somereason I couldn't find the right thread. Can you please give me a link....

thx
Back to top
 
 
View Profile   IP Logged
nzborsti
New Member
*
Offline



Posts: 7

Re: ADE XL create local variable from verilog ams code...
Reply #8 - Apr 26th, 2012, 12:28am
 
Hi,

thank you BOE for the link, it really helped me a lot to get closer to the solution and now it works -> problem solved.

All I had to do is to use the CDF toll , open each "cell" as "base" and enable the "parse as number" option. After that I could easily add the design variables in ADE XL and had no errors coming up.



Back to top
 
 
View Profile   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.