The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 19th, 2024, 4:18pm
Pages: 1
Send Topic Print
One variable inside a verilog-A module not saved (Read 3200 times)
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
One variable inside a verilog-A module not saved
Nov 29th, 2010, 7:53pm
 
Hi Guys,

I tried to save the variables inside a verilog-A module. A part of the verilog-A code is listed below.

Code:
`define NUM_ADC_BITS    10
   real unconverted;
   real halfref;

   real vd[0:`NUM_ADC_BITS-1];
   integer i;
 



Then I chose Outputs --> Save All... --> Select AHDL Variables (saveahdlvars) --> All. I saw unconverted, halfref, and i in the results browser. However, there was no vd. I checked the netlist, it has the following option.

Code:
saveOptions options save=allpub subcktprobelvl=3 saveahdlvars=all 



The tool versions are IC 6.1.4.500.9, and spectre sub-version  10.1.0.213.isr1.

What's wrong? Any comments are appreciated.


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



Posts: 1999
Massachusetts, USA
Re: One variable inside a verilog-A module not saved
Reply #1 - Dec 1st, 2010, 8:30am
 
If you make halfref an array, does it disappear also?  Or does it give you a hint on how the signal is named (halfref_bit0 or something)?
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
Re: One variable inside a verilog-A module not saved
Reply #2 - Dec 5th, 2010, 6:30am
 
Hi Geoffrey,

Yes, it disappears if I make halfref an array, like halfref[0:1]. So I create another integer variable named dat instead of vd[0:`NUM_ADC_BITS-1]. Thanks.


Yawei
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: One variable inside a verilog-A module not saved
Reply #3 - Jan 2nd, 2011, 2:35am
 
Yawei,

There is a CCR (and a few duplicates) for this - 602394. You might want to get a duplicate filed to increase the likelihood of this being done sooner rather than later.

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.