I am trying to alter the
parameter 'numInst' for an iterated instance.i.e.,I am trying re-assign the numInst paramter.But I can see that the value is not getting updated.
The assignment was working fine in 5.1 version but it is not working in OA
instId=dbOpenCellViewByType(<libName> <cellName> "symbol" "" "r")
cellId = dbCreateInst(cv instId "test" <coord> "R0" 5)
The above will
return me an iterated instance 'test<4:0>' at the location defined by <coord>.
Now if i have to alter the number of instances to 2 later in the code, in older version 5.1, I could do
something like cellId~>numInst=2 which will return me an instance
'test<1:0>'.But the same is not working in 6.1.5.
After doing some research i found the command 'dbSetAnyInstNumInst' in 'Integrator’s
Toolkit: Database Reference Manual,Product Version 5.0'.
Is there any equivalent
command for 'dbSetAnyInstNumInst' in 6.1 or is there some other way in which we can change the numInst value.
Thanks in advance,
I have never tried to set numInst directly, I always assumed that it would be derived from the instance name (e.g. I<4:0> would yield numInst of 5) - the IC61x dbCreateInst function still accepts the x_numInst argument, so what doesn't work, modifying it directly? I could not find this documented anywhere. It may be that you have encountered a feature which was undocumented which happened to change between releases - I don't know without investigating deeper. By the way in your code example I think the names should be swapped for less confusion, i.e. cellId should be used for the return value of the dbOpenCellViewByType function, and instId should be used for the return value of dbCreateInst.
Hope this helps,
I need to modify the numInst value based on certain conditions.i.e,I will be needing different bit instances to be used as I will be using a skill code to generate my toplevel block.
Use the dbCreateParamInst(celview master name x:y rotation numberOfInst parameters)
I can use the suggested command or even dbCreateInst ,but I will be losing the connectivity information,otherwise I need to do a Check and Save in between after instantiating the block.Again I need to retrieve the co-ordiante information before removing the old instance so that I can re-instantiate
Thats why I was checking for a work around.:-)