print subcircuit parameters in hspice OSS/HNL netlist

Discussion in 'Cadence' started by Joao Serras, Mar 29, 2005.

  1. Joao Serras

    Joao Serras Guest


    I'm trying to print a subcircuit with instance with parameters with
    hspice HNL/OSS netlister. Something like this (inv cell):

    x1 a b c d my_inv wp=2u wn=0.5u mp=4 mn=1

    In order to do this I've:

    1) created hspice view from symbol view;
    2) created hnlHspiceFormatInst property with mySubcktInstPrint();
    3) created hnlHspiceParamList property with list("wp" "wn" "mp" "mn");

    wp, wn, mp and mn are CDF parameters for inv cell.

    I expected to have access to to hnlHspiceParamList list inside
    mySubcktInstPrint to print the name=value pairs:

    foreach(val hnlHspiceParamList
    sprintf(nil "%s=%s"
    hnlGetPropVal(val hnlCurrentInst~>cellView hnlCurrentInst)

    but for some reason hnlHspiceParamList isn't available.
    Is there an easy way to do this besides actually opening the hspice
    cell view and extract this info?

    Help, please...

    Joao Serras
    Joao Serras, Mar 29, 2005
    1. Advertisements

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.