• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. generating DC files for inter-dependent Tests in ADEXL

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 125
  • Views 9601
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

generating DC files for inter-dependent Tests in ADEXL

Niccolo Lacaita
Niccolo Lacaita over 4 years ago

I've been looking over manuals and posts and can't seem to find an answer to this: 

I have a several dc files to improve convergence of DC simulation. Each DC-file refer to a different value of a variable. i.e: DAC__GainControl_0.dc, DAC__GainControl_5.dc, DAC__GainControl_10.dc ecc...

In my variable list I define 2 variables:
GainControl_VAR (which I change according to my needs from 0 to 100 with step of 5)

filename_DC=sprintf( nil "/myworkspace/DAC__GainControl_%d.dc" GainControl_VAR)     which I use in the read-operating-point section of a DC test

I first run a DC-test in adexl calledl TEST_DC reading the operating point from one of the pre-saved list of DC files: here is a numerical example

GainControl_VAR=50 (globally defined) ----> filename_DC=/myworkspace/DAC__GainControl_50.dc

TEST_DC generates an output expression called GainControl_VAR_DC which represents the value that the variable GainControl_VAR should have in a second test called TEST_HB.  Assume in this example that the value is:
GainControl_VAR_DC =20

Therefore in TEST_HB I define locally:  GainControl_VAR=calcVal("GainControl_VAR_DC" "TEST_DC"), (in my example in TEST_HB -------> GainControl_VAR=20) 

Also I want TEST_HB to read the dc-file associated to the new value of GainControl_VAR (In my example I want TEST_HB to read teh dc file /myworkspace/DAC__GainControl_20.dc)

The Question is how  to do that?

If I define globally: filename_DC=sprintf( nil "/myworkspace/DAC__GainControl_%d.dc" GainControl_VAR) -----> It picks up the global value of the variable (in my example it is 50) and therefore the filepath is /myworkspace/DAC__GainControl_50.dc

If I define locally: filename_DC=sprintf( nil "/myworkspace/DAC__GainControl_%d.dc" calcVal("GainControl_VAR_DC" "TEST_DC")) -----> I get simulation error from TEST_HB and looking in the netlist it seems it cannot recognize the expression

  • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information