The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 18th, 2024, 7:17pm
Pages: 1
Send Topic Print
Disable to read "cds.lib" in Ocean Run (Read 2818 times)
cheap_salary
Senior Member
****
Offline



Posts: 162

Disable to read "cds.lib" in Ocean Run
Jul 06th, 2018, 10:08pm
 
I use Cadence Virtuoso IC6.1.7-64b.500.20

If I create netelist from config view by Cadence ADE-L, "Cell_Name/spectre/config/netlist/designInfo" is created.

On the other hand, if I create netelist from schematic view by Cadence ADE-L, "Cell_Name/spectre/config/netlist/designInfo" is not created.

This "designInfo" causes reading operation of "cds.lib" in Ocean Script.

Is there any setting for disabling reading operation of "cds.lib" without deleting this "designInfo" or renaming "designInfo" ?

BTW, what is this "designInfo" used for ?
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: Disable to read "cds.lib" in Ocean Run
Reply #1 - Jul 10th, 2018, 9:51pm
 
It's to allow the config to be read so that name mapping can be performed (particularly if an extracted view is used - then it can do name mapping between schematic and extracted views for out-of-context probing).

What I don't understand is why reading the cds.lib would cause any problems - this is an expected part of the flow, so I'm not sure why you want to disable it?

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
cheap_salary
Senior Member
****
Offline



Posts: 162

Re: Disable to read "cds.lib" in Ocean Run
Reply #2 - Jul 11th, 2018, 8:39am
 
Andrew Beckett wrote on Jul 10th, 2018, 9:51pm:
What I don't understand is why reading the cds.lib would cause any problems
My OCEAN script do multiple simulation runs as loop.

If "Cell_Name/spectre/config/netlist/designInfo" exists,
it causes read operation of "cds.lib" for each run.
This causes very large logfile which is useless at all.

And OCEAN script itself is very slow due to this read operation of "cds.lib".

Andrew Beckett wrote on Jul 10th, 2018, 9:51pm:
- this is an expected part of the flow,
I don't think so.
Once "Cell_Name/spectre/config/netlist/netlist" is created, read operation of "cds.lib" is not needed at all.

Currently I rename "Cell_Name/spectre/config/netlist/designInfo" to "Cell_Name/spectre/config/netlist/designInfo_aho".
Then I escape read operation of "cds.lib".
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: Disable to read "cds.lib" in Ocean Run
Reply #3 - Jul 12th, 2018, 11:18am
 
You might think it's not needed, but any operation which requires save statements which were schematic names and have to map to the corresponding names in an extracted view needs the information about the config view.

It may also be needed to map names when accessing results.

However, it's quite possible when you are not using an extracted view that this isn't needed (I can't be certain without seeing your setup). I don't believe there's an option to turn it off - normally it wouldn't cause any performance issues (reading a cds.lib should be quick) and I wouldn't expect warnings in a  properly set up environment.

The best thing to do is to contact Cadence customer support at support.cadence.com - that way we can better understand what the impact is in your specific case and maybe see if an option can be added to prevent this being written (to mitigate a performance issue that can't be solved another way - I'd hope that the performance issue should be solved rather than requiring a user switch to improve performance with the potential loss of functionality). To do that though, it requires better understanding of why this is causing a problem for you.

Can you contact customer support please?

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
cheap_salary
Senior Member
****
Offline



Posts: 162

Re: Disable to read "cds.lib" in Ocean Run
Reply #4 - Jul 13th, 2018, 6:33pm
 
Andrew Beckett wrote on Jul 12th, 2018, 11:18am:
You might think it's not needed,
but any operation which requires save statements which were schematic names
and have to map to the corresponding names in an extracted view needs the information about the config view.
My "Cell_Name/spectre/config/netlist/designInfo" is
"infoDpl = `(nil simulator "spectre" libName "Aho_Work" cellName "Boke_top" viewName "config" cdslib "/Kasu/work/cds.lib" extractedViewPresent nil)"

Anyway this "designInfo" does not exist for schematic view.

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: Disable to read "cds.lib" in Ocean Run
Reply #5 - Jul 16th, 2018, 12:57pm
 
For a schematic view, it's not needed because it knows the global switch view list. If a config view is used, the view list could be non-uniform throughout the hierarchy, and to do the appropriate mapping it needs to know which view was used for each cell - and that information is contained in the config - which is why it needs to know what the config was if a config was used and not when a schematic was used at the top level.

I can't comment as to whether it's essential for some features in the case when an extracted view is not used (as in your case) - I think this needs input from Cadence R&D. There may be good reasons to need to know what the view switching is throughout the hierarchy in other situations too - I don't know for certain though. it would be useful to understand what the impact is in terms of performance - ideally so that a reproducible testcase can be created and provided to R&D to improve the tool.

That's why I was asking you to contact customer support. Nothing will happen just because I've been involved in a discussion here (especially as I don't know enough to reproduce the performance problem you are having, but even then it would need me to have sufficient time to work on it; this is precisely what the support mechanism is for). Have you contacted customer support?

Thanks!

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.