D
danmc
Guest
Hi,
I want to make some changes to some "schematics" which were originally
generated by cdlin. The 2 operations I'm interested in are
1) changing some properties and
2) adding some extra devices in parallel with existing devices
For changing properties something like:
cvId = dbOpenCellViewByType( libName cellName viewName nil "a" )
instId = dbFindAnyInstByName( cvId, instName)
propId = dbGetPropByName(instId, pName)
propId->value = newValue
seems to work, but I can no longer netlist because I get a complaint
that the schematic has changed since last extraction.
For adding devices in parallel, I've tried something like:
cvId = dbOpenCellViewByType( libName cellName viewName nil "a" )
instId = dbFindAnyInstByName( cvId, instName)
instId2 = schCopy(instId, cvId, nil)
instId2->name = inst2Name
but I still have the extraction problem as well as the problem where I
havent' figured out how to set the connectivity of my new instance
(instId2).
Any suggestions?
Thanks
-Dan
I want to make some changes to some "schematics" which were originally
generated by cdlin. The 2 operations I'm interested in are
1) changing some properties and
2) adding some extra devices in parallel with existing devices
For changing properties something like:
cvId = dbOpenCellViewByType( libName cellName viewName nil "a" )
instId = dbFindAnyInstByName( cvId, instName)
propId = dbGetPropByName(instId, pName)
propId->value = newValue
seems to work, but I can no longer netlist because I get a complaint
that the schematic has changed since last extraction.
For adding devices in parallel, I've tried something like:
cvId = dbOpenCellViewByType( libName cellName viewName nil "a" )
instId = dbFindAnyInstByName( cvId, instName)
instId2 = schCopy(instId, cvId, nil)
instId2->name = inst2Name
but I still have the extraction problem as well as the problem where I
havent' figured out how to set the connectivity of my new instance
(instId2).
Any suggestions?
Thanks
-Dan