I normally start with the Create New Cellview- (suing Verilog-A editor ) from the library manager.. Originally posted in cdnusers.org by jbdavid
I set my editor to nedit (www.nedit.org) and use the Verilog-A.pats file you can download from their website.. (or by email to email@example.com)
each time you save and exit - the system will do a syntax check, and then, if it passes, it will build the required symbol view for it..
(if you answer yes.. )
If you START with a symbol, any parameters you add will be added to the CDF automatically when you "check and save" your veriloga view..
-- BUT THATS not what you are asking..
After that, If I create another view (ie Verilog-AMS) those parameters that exist in the CDF are automatically included in the new verilog-AMS view.. ..
So there MUST be a way to do it..
from icfb menu .. Tools -> CDF -> edit
enter lib and cell name
under component parameters
"Add" -(as first parameter or after (existing) parameter name)
set paramtype to "string"
parse as number to "yes"
units "don't use"
store default NO
the NAME is the parameter name you get in your verilog-A view (spectreHDL is obsolete now!)
the PROMPT is what you'll see when you "q" the instance of this to set the parameter - by default its the same as the NAME
the defValue is the default value (if set it will be in your verilog-ams verilog-a view when you create a new cell view)
the display parameter can be blank, - but the auto created parameters get
any CDF parameter you add this way will be added to your verilog-A or verilog-AMS view..