nlpexpr question

Discussion in 'Cadence' started by Charles Branch, Sep 19, 2003.

  1. I am attempting to create a parameterize transistor base on nlp
    parameters and have managed to get a flow working, but I want to improve
    my display so that less information is presented.

    I have three parameters w, m, and l. I am currently using the following
    nlp expression to display my values on my symbol label:
    (([~wp1]*[~mp1])/[~lp1]) which works correctly in my flow, but I only
    want to display m is its value is greater than 1 and I only want to
    display l if it is larger than process minimum. I have read on
    sourcelink that there is no way to parse nlp parameters in skill, so
    does anyone know of a way to do conditional statements directly in nlp
    expressions?

    Thanks.
    Chuck
     
    Charles Branch, Sep 19, 2003
    #1
  2. Whilst you're correct in saying that nlp expressions can't be parsed in
    SKILL (at least not directly), unless you're using the ability to set an nlp
    parameter several levels of hierarchy above the instance, and restricting
    yourself to just setting the parameters on the device instance,
    you can probably use an ILLabel to compute:

    ilInst~>wp1*ilInst~>mp1/ilInst~>lp1

    Of course, you'd probably want to wrap it up in a function which would detect
    if the parameters had been set, and if they are greater than the process
    minimum.

    In other words, you're using the properties on the instance. Of course, if
    the properties are coming from anything above the current instance, it would
    get rather more complicated - you'd need to need to look at the instance
    hierarchy (geGetInstHier() - can't remember if that's the function?) which
    would start getting pretty hairy - and probably not necessarily what you'd want
    to do... but even in this scenario, I'm sure you could write something
    generic which could be applied in a variety of situations?

    Regards,

    Andrew.

     
    Andrew Beckett, Sep 20, 2003
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.