Dear all,
I'm currently working on a impedance matching tool that will be run using Cadence SKILL and OCEAN and have stumbled upon a small problem.
I'd like to do the following:
1) Open an existing schematic that has components inside. Each of the components have sub-circuits inside, but they are not parametric cells.
2) Descend into a particular component and change the value of a component which is inside the sub-circuit parameter.
In other words I have a top level schematic A that has a component B. And I want to access component C parameters which is a sub-circuit inside of a component B in the top level schematic A.
I know how to open a schematic, find and change the parameters of an existing component (in this case it is component "Cpad1" in a schematic "ind_lossy" in a library LIB_NAME):
cvIdTemp = dbOpenCellViewByType(LIB_NAME "ind_lossy" "schematic")
dbReopen(cvIdTemp "a") ;to remove locked status of the opened cell view
instanceSelection= dbFindAnyInstByName(cvIdTemp "Cpad1")
instanceSelection~>c = 123e-12
dbSave(cvIdTemp)
dbClose(cvIdTemp)
I was wondering - how would one descend into a component sub-circuit schematic and change parameters inside using SKILL, save and close both the sub-circuit and the top schematic?
Thanks,
Aleksandr