How to search components in cadence composer

R

razoruser

Guest
Hi,
I have a schematic which has PMOS transistors taken from the
analogLib.
some of the transistors have the have "Model Name" as 'pch3' and some
have
the "Model Name" parameter as "PMOS3".

Is there a way to "Search and Replace" the "PMOS3" Model Name to
'pch3'.
I know I could do this on the text netlist, but is it possible on the
Schematic.

This kind of Search & Replace is possible on other Properties
(like libName, cellName etc)
but Iam no able to figure out the Property Name for "Model Name"

Thanks in Advance
ss
 
This could be done by SKILL

The function cdfDump dumps out the component description format,
which gives you the information about the property name for the
"Model Name".

Then you can replace the value it with a SKILL function.

Something like that:

procedure( BFreplaceMosProp( @key ( cellView nil ) )
let( ( d_cvId )

d_cvId = geGetEditCellView( ) || cellView

foreach( d_instance d_cvId~>instances
when( d_instance~>cellName == "PMOS"
d_instance~><yourModelPropHere> = "pch3"
;; or use the dbReplaceProp function
)
) ;; close when
) ;; close foreach
) ;; close let
) ;; close BFreplaceMosProp

libName and cellName are no properties they are attributes and
belong to the cell master. If you are a beginner with SKILL
rather use the Menu command in your schematic window
Edit->Search>Replace...
If not you can write a SKILL code which changes the cell
master of your instance.

Bernd

razoruser wrote:
Hi,
I have a schematic which has PMOS transistors taken from the
analogLib.
some of the transistors have the have "Model Name" as 'pch3' and some
have
the "Model Name" parameter as "PMOS3".

Is there a way to "Search and Replace" the "PMOS3" Model Name to
'pch3'.
I know I could do this on the text netlist, but is it possible on the
Schematic.

This kind of Search & Replace is possible on other Properties
(like libName, cellName etc)
but Iam no able to figure out the Property Name for "Model Name"

Thanks in Advance
ss
 

Welcome to EDABoard.com

Sponsor

Back
Top