Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4906

CDF parameters reusing default value from veriloga

$
0
0

I have a veriloga model for cell 'mosfet_model', where I declared parameters such as:

parameter real w = 2u;

parameter real l = 0.5u;

Then I create a schematic cell 'inverter' which instanciates a symbol of cell 'mosfet_model' and some other components.

I can edit the parameters w and l in the Object Properties of the instance of cell 'mosfet_model' and by default, they show the same default values as in the veriloga code. But I want to make them editable by parents of the 'inverter' cell.

So I change the properties in the mosfet_model instance as: w = pPar("w") and l = pPar("l").

Then I created symbol for 'inverter' and I can see the w and l parameters in inverter object properties.

So far, so good. But is there a way for 'inverter' to also show the same default values as in the veriloga?

Right now I see blank spaces for every parameter field in inverter object properties, but I would like it to automatically fill up with w = 2u and l = 0.5u that was in the veriloga, just like it does with 'mosfet_model'.

Is that possible? I know I can edit the CDF and add the default values explicitly, but I am worried about making changes in the veriloga that will not reflect on the CDF defaults, so I think it would be preferable to have the two linked together somehow.

EDIT: My tool version is IC 6.1.5


Viewing all articles
Browse latest Browse all 4906

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>