Parameter editing using SKILL

N

newborn

Guest
Hi, I am a beginner and I would like to know how to change the
parameter of a resistor which i have instantiated into a schematic. I
tried using dbReplaceProp. But i dont know the exact parameter name
and its type. Which command is useful in generating the parameter list
of an already exisiting symbol? Then , i think i can use
dbCreateParamInst tocreate the symbol onto the schematic.

Thanks!
 
I had one more doubt. If i want to use Skill for simulation of a
ckt... what shud i do.
I made a ckt having a dc vsource & a resistor. now..
simulator('spectre)
design("libname" "cellname" "viewname")
createNetlist
dc("V0" "vdc" 0 5 1)
the dc command is returning "1"
is my parameter "vdc" correct? How to choose which parameter to vary?
Help
Thanks!
 
Again one more doubt...
Is there anyway by which i can connect different instances in a
schematic by just naming them in schCreateWire or some function like
that.
Help Please!
 
On May 25, 8:22 am, newborn <hrishi...@gmail.com> wrote:
Again one more doubt...
Is there anyway by which i can connect different instances in a
schematic by just naming them in schCreateWire or some function like
that.
Help Please!
You would typically insert a multi-way switch and change position
between simulations with alterstate. This is only possible in stand
alone spectre as ADE (at least in 5.x series) does not implement this
feature.

--
Svenn
 
On May 24, 6:57 am, newborn <hrishi...@gmail.com> wrote:
Hi, I am a beginner and I would like to know how to change the
parameter of a resistor which i have instantiated into a schematic. I
tried using dbReplaceProp. But i dont know the exact parameter name
and its type. Which command is useful in generating the parameter list
of an already exisiting symbol? Then , i think i can use
dbCreateParamInst tocreate the symbol onto the schematic.

Thanks!
If you use ADE and select a dc simulation, you can have the dc sim
vary a component parameter. This is all in the setup GUI of the DC
sim. There is a button to choose which parameter to select from a
particular component. You find the dialog in Setup->analysis... DC

--
Svenn
 
On May 24, 12:22 pm, newborn <hrishi...@gmail.com> wrote:
I had one more doubt. If i want to use Skill for simulation of a
ckt... what shud i do.
I made a ckt having a dc vsource & a resistor. now..>simulator('spectre)
design("libname" "cellname" "viewname")
createNetlist
dc("V0" "vdc" 0 5 1)

the dc command is returning "1"
is my parameter "vdc" correct? How to choose which parameter to vary?
Help
Thanks!

analysis('dc ?dev "/V0" ?param "dc" ?start "0" ?stop "5" ?step
"1" )
saveOption( 'currents "all" )
saveOption( 'pwr "all" )
saveOption( 'save "all" )
temp( 27 )
run()


I would advice you to google for one of those university tutotials
that happen to be available on the internet. There is no need for you
to struggle with these kinds of problems as they have already been
well documented elsewhere.

--
Svenn
 
Thanx a lot!
I am finding it a lot easier now. I have been using the the Product
Manual and some other university sites for help. Now I have something
which i havent been able to find in the manuals , that is...
Can i use some command like schCreateWire and connect the pins of 2
instances.
for eg: (if schCreateWire allowed the following)

schCreateWire(cvID "route" "full" list("/C1/PLUS" "/R0/PLUS") 0.625 0.625 0)
Can u help me out?
Thanx again
 
On May 24, 9:57 am, newborn <hrishi...@gmail.com> wrote:
Hi, I am a beginner and I would like to know how to change the
parameter of a resistor which i have instantiated into a schematic. I
tried using dbReplaceProp. But i dont know the exact parameter name
and its type. Which command is useful in generating the parameter list
of an already exisiting symbol? Then , i think i can use
dbCreateParamInst tocreate the symbol onto the schematic.

Thanks!
hi,
You can find the parameter names and type through cdf ID .
There will be a command for getting cdf id of selected instance or
pcell.
cdfId~>??
This i used in layout.I did not try in schematic..
i fell it should work in the schematic also.

Thanks
 
On 28 Mai, 08:43, newborn <hrishi...@gmail.com> wrote:
Thanx a lot!
I am finding it a lot easier now. I have been using the the Product
Manual and some other university sites for help. Now I have something
which i havent been able to find in the manuals , that is...
Can i use some command like schCreateWire and connect the pins of 2
instances.
for eg: (if schCreateWire allowed the following)

schCreateWire(cvID "route" "full" list("/C1/PLUS" "/R0/PLUS") 0.625 0.625 0)
You have to create pins and nets also and connect all the things. Look
around for the way to export a schematic to a skill script for later
import. Then you will learn from code how to create code. I think
there are some articles here on c.c.c. mentioning how to do that. I
once wrote a Tcl script to create schematics from spice code, but
unfortunately I forgot to take the code with me when I changed
company. But the principle is quite simple.

--
Svenn
 

Welcome to EDABoard.com

Sponsor

Back
Top