Problem statement is:
===========================
User would provide i/p in hierarchy editor on an instance-basis (Tree view) through an user-introduced property (Edit-->Add property column). And during netlisting, I need to read that property and instantiate that instance to my_subckt. Else usual descend and netlisting as per set view. Also, the property need not propagate hierarchically for child instances.
Now, I understand this can be achieved in the CDF way, too:
===============================
1) Introduce CDF property "model" (base/user/effective) for the cell. Set it to default "my_subckt".
2) Create a new view out of symbol view (say my_spectre view)
3) Put my_spectre view in the stop and view lists in the config.
4) Change the particular instance desired to my_spectre view
But say I don't want it to do it that way since I don't want to create new views or introduce new CDF properties for almost every cell in the library, etc. since -- (a) I have to create my_spectre view on-the-fly for that instance's master (b) If I want to change base CDF, I do not have write permissions (c) Even if I achieve (a) or (b) [through local copies, effective CDFs, etc.], things might just not scale for bigger and bigger blocks.
So is custom netlisting routine the only way? If so, some pointer would be helpful for this kind of problem statement:
For any instance, read a hierarchy editor property (say my_prop) --> If my_prop=a, introduce my_subckt for model/subckt defintion. Else, if my_prop=<nothing>/b, fall back to usual netlisting.
Any help would be greatly appreciated for this custom IC SKILL problem.
Regards,
Tito