Passing model file as a string parameter in cadence ocean sc

P

Pratap

Guest
Hi,
I want to do a corner analysis along with several other variable
parameters for my design.
At present the line specifying the model file looks like this...

modelFile(
'("/home/pratap/cadence/foundry_data/umc13mmrf/../Models/Spectre/
L130E_HS12_V241.lib.scs" "ss")
)

All I need to change is the last argument as "ff" or "tt". So I want
to give these strings as parameters from an array and run the
simulation.
Does anybody have an idea how can I do so?
Waiting for some solution,
-Pratap
 
Pratap wrote, on 12/22/09 12:46:
Hi,
I want to do a corner analysis along with several other variable
parameters for my design.
At present the line specifying the model file looks like this...

modelFile(
'("/home/pratap/cadence/foundry_data/umc13mmrf/../Models/Spectre/
L130E_HS12_V241.lib.scs" "ss")
)

All I need to change is the last argument as "ff" or "tt". So I want
to give these strings as parameters from an array and run the
simulation.
Does anybody have an idea how can I do so?
Waiting for some solution,
-Pratap
So something like this:

simulator('spectre)
design(...)
analysis(...)
desVar(...)

foreach(corner list("tt" "ss" "ff")
modelFile(
list("/home/pratap/cadence/foundry_data/umc13mmrf/../Models/Spectre/L130E_HS12_V241.lib.scs"
corner)
)
; any other changes
run()
; whatever post-processing you want
)


Regards,

Andrew.
 
On Dec 23, 6:22 am, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Pratap wrote, on 12/22/09 12:46:



Hi,
I want to do a corner analysis along with several other variable
parameters for my design.
At present the line specifying the model file looks like this...

modelFile(
    '("/home/pratap/cadence/foundry_data/umc13mmrf/../Models/Spectre/
L130E_HS12_V241.lib.scs" "ss")
)

All I need to change is the last argument as "ff" or "tt". So I want
to give these strings as parameters from an array and run the
simulation.
Does anybody have an idea how can I do so?
Waiting for some solution,
-Pratap

So something like this:

simulator('spectre)
design(...)
analysis(...)
desVar(...)

foreach(corner list("tt" "ss" "ff")
   modelFile(
list("/home/pratap/cadence/foundry_data/umc13mmrf/../Models/Spectre/L130E_HS12_V241.lib.scs"
corner)
   )
   ; any other changes
   run()
   ; whatever post-processing you want
)

Regards,

Andrew.
Hello Andrew,

could you pls. elaborate on this a bit? I did this in a little bit
more complicated way.

What is the prerequisite that I can call a model file simply by:
modelFile(
list("/home/pratap/cadence/foundry_data/umc13mmrf/../Models/Spectre/L130E_HS12_V241.lib.scs"
corner)
Merry Xmas,

Klaus
 
Hi Klaus,

The pre-requisits are simply:
1. The model file itself
2. the list of sections included in the model file, i.e. ss, tt,
ff ... etc.

The foreach loop would then deal with each section, simple as that.
Assuming I understood your question ...

Cheers,
Riad.
 
On Dec 28, 7:19 pm, Riad KACED <riad.ka...@gmail.com> wrote:
Hi Klaus,

The pre-requisits are simply:
1. The model file itself
2. the list of sections included in the model file, i.e. ss, tt,
ff ... etc.

The foreach loop would then deal with each section, simple as that.
Assuming I understood your question ...

Cheers,
Riad.
Hi Riad,

thanks, will try it and wonder how simple ocean can be ;-) .

Cheers,

Klaus
 
klaus wrote, on 12/29/09 12:07:
On Dec 28, 7:19 pm, Riad KACED <riad.ka...@gmail.com> wrote:
Hi Klaus,

The pre-requisits are simply:
1. The model file itself
2. the list of sections included in the model file, i.e. ss, tt,
ff ... etc.

The foreach loop would then deal with each section, simple as that.
Assuming I understood your question ...

Cheers,
Riad.

Hi Riad,

thanks, will try it and wonder how simple ocean can be ;-) .

Cheers,

Klaus
The key point of my previous post was the use of list() rather than '(). The
quote prevents evaluation of anything inside the parentheses, whereas the list()
function is a normal function that evaluates all its arguments prior to the
call, which then creates a list from all the arguments.

In this case we don't want a literal list (which is what the '() would have
done), but a list assembled from evaluated variables.

Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top