Result Annotation

E

ecnedad

Guest
I want to ask for help.
Is there any command to Annotate the Result of Simulation, that is
equivalent to the function of Result->Annotate of Analog Design
Environment?

I hope anyone could help me regarding this matter.

Thank you in advance and God bless! (^_^)
 
ecnedad wrote, on 07/10/09 07:12:
I want to ask for help.
Is there any command to Annotate the Result of Simulation, that is
equivalent to the function of Result->Annotate of Analog Design
Environment?

I hope anyone could help me regarding this matter.

Thank you in advance and God bless! (^_^)
Depends on what you want to annotate.

Best thing is to go to Options->Log Filter, and turn on:

Show Input: [] menu commands

Then pick the command in ADE, and look in the CIW. You'll see (for example):

sevAnnotateResults('sevSession1 'dcNodeVoltages)

In order to generalize it to make it work with the current session, you can
change the 'sevSession1 to sevSession(hiGetCurrentWindow()) (no quote before
it). So the command would be:

sevAnnotateResults(sevSession(hiGetCurrentWindow()) 'dcNodeVoltages)

Regards,

Andrew.
 
On Jul 10, 7:07 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
ecnedad wrote, on 07/10/09 07:12:

I want to ask for help.
Is there any command toAnnotatethe Result of Simulation, that is
equivalent to the function of Result->Annotateof Analog Design
Environment?

I hope anyone could help me regarding this matter.

Thank you in advance and God bless! (^_^)

Depends on what you want toannotate.

Best thing is to go to Options->Log Filter, and turn on:

Show Input:  [] menu commands

Then pick the command in ADE, and look in the CIW. You'll see (for example):

sevAnnotateResults('sevSession1 'dcNodeVoltages)

In order to generalize it to make it work with the current session, you can
change the 'sevSession1 to sevSession(hiGetCurrentWindow()) (no quote before
it). So the command would be:

sevAnnotateResults(sevSession(hiGetCurrentWindow()) 'dcNodeVoltages)

Regards,

Andrew.
Thanks for the information Sir Andrew, especially with the Log Filter
(now I could see the commands that were used on my every action).

But sevSession() function needs the Analog Design Environment. Is this
right?
Is it possible or is there any command that can be used to Annotate
the Results into the Schematic without usin Analog Design Environment?

For now I'm thinking the following procedure:

1. Use openResults() to extract the Simulation Result of all nets and
pins depend on the specify Analysis
(by selectResults()).
2. Changed the value of nets and pins with the extracted Simulation
Result Value.
3. And then display the changed value of all nets and pins.

But I don't know how to make the Steps 2 and 3 and I think this is
very slow.
Is there any way to annotate the Simulation Result to the Schematic in
much better way than this method?

I hope anyone could help me on this matter.

Thanks and God bless.
 
ecnedad wrote, on 07/17/09 12:30:
Thanks for the information Sir Andrew, especially with the Log Filter
(now I could see the commands that were used on my every action).

But sevSession() function needs the Analog Design Environment. Is this
right?
Is it possible or is there any command that can be used to Annotate
the Results into the Schematic without usin Analog Design Environment?

For now I'm thinking the following procedure:

1. Use openResults() to extract the Simulation Result of all nets and
pins depend on the specify Analysis
(by selectResults()).
2. Changed the value of nets and pins with the extracted Simulation
Result Value.
3. And then display the changed value of all nets and pins.

But I don't know how to make the Steps 2 and 3 and I think this is
very slow.
Is there any way to annotate the Simulation Result to the Schematic in
much better way than this method?

I hope anyone could help me on this matter.

Thanks and God bless.
Here's what you need to do. Essentially a combination of properties on the
window, together with updating the effective CDF to control what gets displayed
in the cdsTerm/cdsParam labels.

openResults("./simulation/adc_cascode_opamp_sim/spectre/schematic")
win=hiGetCurrentWindow()
win~>artistSimulationDataDir=openResults()
win~>artistNetlistNameMapDir=strcat(openResults() "/netlist/amap")

; need to do this for the right library in your case
cdf=cdfGetUserLibCDF(ddGetObj("gpdk090"))
cdf~>termSimType="DC"
cdf~>termDisplayMode="voltage"
cdf~>paramSimType="DC"
cdf~>paramDisplayMode="opPoint"

Regards,

Andrew.
 
On Jul 20, 9:01 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
ecnedad wrote, on 07/17/09 12:30:





Thanks for the information Sir Andrew, especially with the Log Filter
(now I could see the commands that were used on my every action).

But sevSession() function needs the Analog Design Environment. Is this
right?
Is it possible or is there any command that can be used to Annotate
the Results into the Schematic without usin Analog Design Environment?

For now I'm thinking the following procedure:

1. Use openResults() to extract the SimulationResultof all nets and
pins depend on the specify Analysis
    (by selectResults()).
2. Changed the value of nets and pins with the extracted Simulation
ResultValue.
3. And then display the changed value of all nets and pins.

But I don't know how to make the Steps 2 and 3 and I think this is
very slow.
Is there any way to annotate the SimulationResultto the Schematic in
much better way than this method?

I hope anyone could help me on this matter.

Thanks and God bless.

Here's what you need to do. Essentially a combination of properties on the
window, together with updating the effective CDF to control what gets displayed
in the cdsTerm/cdsParam labels.

openResults("./simulation/adc_cascode_opamp_sim/spectre/schematic")
win=hiGetCurrentWindow()
win~>artistSimulationDataDir=openResults()
win~>artistNetlistNameMapDir=strcat(openResults() "/netlist/amap")

; need to do this for the right library in your case
cdf=cdfGetUserLibCDF(ddGetObj("gpdk090"))
cdf~>termSimType="DC"
cdf~>termDisplayMode="voltage"
cdf~>paramSimType="DC"
cdf~>paramDisplayMode="opPoint"

Regards,

Andrew.
Thank you very much for your help.
It worked!

I have another question, as I've seen at Manual cdf~>termSimType has
three valid value: not set, DC and transient.

In case of "transient", how can I set the "time"?

Thank you very much and God bless.
 
On Jul 20, 9:01 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
ecnedad wrote, on 07/17/09 12:30:





Thanks for the information Sir Andrew, especially with the Log Filter
(now I could see the commands that were used on my every action).

But sevSession() function needs the Analog Design Environment. Is this
right?
Is it possible or is there any command that can be used to Annotate
the Results into the Schematic without usin Analog Design Environment?

For now I'm thinking the following procedure:

1. Use openResults() to extract the SimulationResultof all nets and
pins depend on the specify Analysis
    (by selectResults()).
2. Changed the value of nets and pins with the extracted Simulation
ResultValue.
3. And then display the changed value of all nets and pins.

But I don't know how to make the Steps 2 and 3 and I think this is
very slow.
Is there any way to annotate the SimulationResultto the Schematic in
much better way than this method?

I hope anyone could help me on this matter.

Thanks and God bless.

Here's what you need to do. Essentially a combination of properties on the
window, together with updating the effective CDF to control what gets displayed
in the cdsTerm/cdsParam labels.

openResults("./simulation/adc_cascode_opamp_sim/spectre/schematic")
win=hiGetCurrentWindow()
win~>artistSimulationDataDir=openResults()
win~>artistNetlistNameMapDir=strcat(openResults() "/netlist/amap")

; need to do this for the right library in your case
cdf=cdfGetUserLibCDF(ddGetObj("gpdk090"))
cdf~>termSimType="DC"
cdf~>termDisplayMode="voltage"
cdf~>paramSimType="DC"
cdf~>paramDisplayMode="opPoint"

Regards,

Andrew.
I've already find it.

; To set the time in case of transient
cdf= cdfGetUserLibCDF(ddGetObj("myLibName"))
cdfId->paramSimTime = "110"
cdfId->termSimTime = "110"

Thank you very much for your great help.
God bless you more with abundant knowledge!
 
On Jul 20, 9:01 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
ecnedad wrote, on 07/17/09 12:30:





Thanks for the information Sir Andrew, especially with the Log Filter
(now I could see the commands that were used on my every action).

But sevSession() function needs the Analog Design Environment. Is this
right?
Is it possible or is there any command that can be used to Annotate
the Results into the Schematic without usin Analog Design Environment?

For now I'm thinking the following procedure:

1. Use openResults() to extract the SimulationResultof all nets and
pins depend on the specify Analysis
    (by selectResults()).
2. Changed the value of nets and pins with the extracted Simulation
ResultValue.
3. And then display the changed value of all nets and pins.

But I don't know how to make the Steps 2 and 3 and I think this is
very slow.
Is there any way to annotate the SimulationResultto the Schematic in
much better way than this method?

I hope anyone could help me on this matter.

Thanks and God bless.

Here's what you need to do. Essentially a combination of properties on the
window, together with updating the effective CDF to control what gets displayed
in the cdsTerm/cdsParam labels.

openResults("./simulation/adc_cascode_opamp_sim/spectre/schematic")
win=hiGetCurrentWindow()
win~>artistSimulationDataDir=openResults()
win~>artistNetlistNameMapDir=strcat(openResults() "/netlist/amap")

; need to do this for the right library in your case
cdf=cdfGetUserLibCDF(ddGetObj("gpdk090"))
cdf~>termSimType="DC"
cdf~>termDisplayMode="voltage"
cdf~>paramSimType="DC"
cdf~>paramDisplayMode="opPoint"

Regards,

Andrew.
I have another problem.
My resultDir (psf) and my amapDir (/netlist/amap) have different
location.

Ex.
resultDir = "./AnnotateResult/SimResult/psf"
amapDir = "./AnnotateResult/amap"

With this structure of directory, I could not Annotate the result of
the resultDir.

Is there any way to Annotate Result using this kind of setup
(different location of psf and amap folder)?

Your response is very much appreciated.

Thanks and God bless. (^_^)
 
ecnedad wrote, on 07/30/09 04:17:
On Jul 20, 9:01 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
ecnedad wrote, on 07/17/09 12:30:





Thanks for the information Sir Andrew, especially with the Log Filter
(now I could see the commands that were used on my every action).
But sevSession() function needs the Analog Design Environment. Is this
right?
Is it possible or is there any command that can be used to Annotate
the Results into the Schematic without usin Analog Design Environment?
For now I'm thinking the following procedure:
1. Use openResults() to extract the SimulationResultof all nets and
pins depend on the specify Analysis
(by selectResults()).
2. Changed the value of nets and pins with the extracted Simulation
ResultValue.
3. And then display the changed value of all nets and pins.
But I don't know how to make the Steps 2 and 3 and I think this is
very slow.
Is there any way to annotate the SimulationResultto the Schematic in
much better way than this method?
I hope anyone could help me on this matter.
Thanks and God bless.
Here's what you need to do. Essentially a combination of properties on the
window, together with updating the effective CDF to control what gets displayed
in the cdsTerm/cdsParam labels.

openResults("./simulation/adc_cascode_opamp_sim/spectre/schematic")
win=hiGetCurrentWindow()
win~>artistSimulationDataDir=openResults()
win~>artistNetlistNameMapDir=strcat(openResults() "/netlist/amap")

; need to do this for the right library in your case
cdf=cdfGetUserLibCDF(ddGetObj("gpdk090"))
cdf~>termSimType="DC"
cdf~>termDisplayMode="voltage"
cdf~>paramSimType="DC"
cdf~>paramDisplayMode="opPoint"

Regards,

Andrew.

I have another problem.
My resultDir (psf) and my amapDir (/netlist/amap) have different
location.

Ex.
resultDir = "./AnnotateResult/SimResult/psf"
amapDir = "./AnnotateResult/amap"

With this structure of directory, I could not Annotate the result of
the resultDir.

Is there any way to Annotate Result using this kind of setup
(different location of psf and amap folder)?

Your response is very much appreciated.

Thanks and God bless. (^_^)
That's not really supported, but that can be achieved by having a "runObjFile"
with a value of the property "netlistDir" which points to the right location.

Easiest way is to run it in ADE, and then borrow the runObjFile from there, and
modify it as needed.

Regards,

Andrew.
 
On Jul 30, 6:55 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
ecnedad wrote, on 07/30/09 04:17:



On Jul 20, 9:01 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
ecnedad wrote, on 07/17/09 12:30:

Thanks for the information Sir Andrew, especially with the Log Filter
(now I could see the commands that were used on my every action).
But sevSession() function needs the Analog Design Environment. Is this
right?
Is it possible or is there any command that can be used to Annotate
the Results into the Schematic without usin Analog Design Environment?
For now I'm thinking the following procedure:
1. Use openResults() to extract the SimulationResultof all nets and
pins depend on the specify Analysis
    (by selectResults()).
2. Changed the value of nets and pins with the extracted Simulation
ResultValue.
3. And then display the changed value of all nets and pins.
But I don't know how to make the Steps 2 and 3 and I think this is
very slow.
Is there any way to annotate the SimulationResultto the Schematic in
much better way than this method?
I hope anyone could help me on this matter.
Thanks and God bless.
Here's what you need to do. Essentially a combination of properties on the
window, together with updating the effective CDF to control what gets displayed
in the cdsTerm/cdsParam labels.

openResults("./simulation/adc_cascode_opamp_sim/spectre/schematic")
win=hiGetCurrentWindow()
win~>artistSimulationDataDir=openResults()
win~>artistNetlistNameMapDir=strcat(openResults() "/netlist/amap")

; need to do this for the right library in your case
cdf=cdfGetUserLibCDF(ddGetObj("gpdk090"))
cdf~>termSimType="DC"
cdf~>termDisplayMode="voltage"
cdf~>paramSimType="DC"
cdf~>paramDisplayMode="opPoint"

Regards,

Andrew.

I have another problem.
My resultDir (psf) and my amapDir (/netlist/amap) have different
location.

Ex.
   resultDir = "./AnnotateResult/SimResult/psf"
   amapDir = "./AnnotateResult/amap"

With this structure of directory, I could not Annotate theresultof
the resultDir.

Is there any way to AnnotateResultusing this kind of setup
(different location of psf and amap folder)?

Your response is very much appreciated.

Thanks and God bless. (^_^)

That's not really supported, but that can be achieved by having a "runObjFile"
with a value of the property "netlistDir" which points to the right location.

Easiest way is to run it in ADE, and then borrow the runObjFile from there, and
modify it as needed.

Regards,

Andrew.
Thank you very much for your respond.
I will check what can I do with it.
Thanks for the information.

God bless! (^_^)
 
ecnedad wrote, on 08/25/09 06:39:
Good day!
I have encountered problem regarding the Result Annotation.
Using the above commands in this discussion, I can annotate the
results in icfb version 5.10.41.500.5.117 but when I used the older
icfb version 5.10.41.500.3.47, I can't annotate the results.

Does anyone knows the conflict or difference of 5.10.41.500.5.117 and
5.10.41.500.3.47 in relation of Results Annotation?

I hope anyone could help me regarding this problem.

Thank you in advance and God bless! (^_^)
May be a bug that's been fixed subsequently. I'm afraid I don't have time this
week to go back to a release of that vintage (I only have USR3 and USR4
available, not an ISR from that timeframe, so it may not show it anyway).

Can you not just use the newer version?

Regards,

Andrew.
 
On Jul 30, 6:55 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
ecnedadwrote, on 07/30/09 04:17:



On Jul 20, 9:01 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
ecnedadwrote, on 07/17/09 12:30:

Thanks for the information Sir Andrew, especially with the Log Filter
(now I could see the commands that were used on my every action).
But sevSession() function needs the Analog Design Environment. Is this
right?
Is it possible or is there any command that can be used to Annotate
the Results into the Schematic without usin Analog Design Environment?
For now I'm thinking the following procedure:
1. Use openResults() to extract the SimulationResultof all nets and
pins depend on the specify Analysis
    (by selectResults()).
2. Changed the value of nets and pins with the extracted Simulation
ResultValue.
3. And then display the changed value of all nets and pins.
But I don't know how to make the Steps 2 and 3 and I think this is
very slow.
Is there any way to annotate the SimulationResultto the Schematic in
much better way than this method?
I hope anyone could help me on this matter.
Thanks and God bless.
Here's what you need to do. Essentially a combination of properties on the
window, together with updating the effective CDF to control what gets displayed
in the cdsTerm/cdsParam labels.

openResults("./simulation/adc_cascode_opamp_sim/spectre/schematic")
win=hiGetCurrentWindow()
win~>artistSimulationDataDir=openResults()
win~>artistNetlistNameMapDir=strcat(openResults() "/netlist/amap")

; need to do this for the right library in your case
cdf=cdfGetUserLibCDF(ddGetObj("gpdk090"))
cdf~>termSimType="DC"
cdf~>termDisplayMode="voltage"
cdf~>paramSimType="DC"
cdf~>paramDisplayMode="opPoint"

Regards,

Andrew.

I have another problem.
My resultDir (psf) and my amapDir (/netlist/amap) have different
location.

Ex.
   resultDir = "./AnnotateResult/SimResult/psf"
   amapDir = "./AnnotateResult/amap"

With this structure of directory, I could not Annotate the result of
the resultDir.

Is there any way to Annotate Result using this kind of setup
(different location of psf and amap folder)?

Your response is very much appreciated.

Thanks and God bless. (^_^)

That's not really supported, but that can be achieved by having a "runObjFile"
with a value of the property "netlistDir" which points to the right location.

Easiest way is to run it in ADE, and then borrow the runObjFile from there, and
modify it as needed.

Regards,

Andrew.
Good day!
I have encountered problem regarding the Result Annotation.
Using the above commands in this discussion, I can annotate the
results in icfb version 5.10.41.500.5.117 but when I used the older
icfb version 5.10.41.500.3.47, I can't annotate the results.

Does anyone knows the conflict or difference of 5.10.41.500.5.117 and
5.10.41.500.3.47 in relation of Results Annotation?

I hope anyone could help me regarding this problem.

Thank you in advance and God bless! (^_^)
 
On Aug 25, 3:36 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
ecnedad wrote, on 08/25/09 06:39:



Good day!
I have encountered problem regarding the Result Annotation.
Using the above commands in this discussion, I can annotate the
results in icfb version 5.10.41.500.5.117 but when I used the older
icfb version 5.10.41.500.3.47, I can't annotate the results.

Does anyone knows the conflict or difference of 5.10.41.500.5.117 and
5.10.41.500.3.47 in relation of Results Annotation?

I hope anyone could help me regarding this problem.

Thank you in advance and God bless! (^_^)

May be a bug that's been fixed subsequently. I'm afraid I don't have time this
week to go back to a release of that vintage (I only have USR3 and USR4
available, not an ISR from that timeframe, so it may not show it anyway).

Can you not just use the newer version?

Regards,

Andrew.
Thank you Sir Andrew for your reply.

We are now using the new version.
But may we know the reason or cause of this problem?

I have an additional question:
In previous discussion, in case of transient analysis I could not
annotate the right sim value based on the specified time.

I have used the following commands to set the time in case of
transient:

cdf= cdfGetUserLibCDF(ddGetObj("myLibName"))
cdfId->paramSimTime = "110u"
cdfId->termSimTime = "110u"

The value that has been annotated is not changing based on the
indicated time.

I really appreciate your respond.

Thanks and have a nice day!
God bless! (^_^)
 
On Aug 26, 2:36 pm, ecnedad <ecne...@gmail.com> wrote:
On Aug 25, 3:36 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:



ecnedad wrote, on 08/25/09 06:39:

Good day!
I have encountered problem regarding the Result Annotation.
Using the above commands in this discussion, I can annotate the
results in icfb version 5.10.41.500.5.117 but when I used the older
icfb version 5.10.41.500.3.47, I can't annotate the results.

Does anyone knows the conflict or difference of 5.10.41.500.5.117 and
5.10.41.500.3.47 in relation of Results Annotation?

I hope anyone could help me regarding this problem.

Thank you in advance and God bless! (^_^)

May be a bug that's been fixed subsequently. I'm afraid I don't have time this
week to go back to a release of that vintage (I only have USR3 and USR4
available, not an ISR from that timeframe, so it may not show it anyway).

Can you not just use the newer version?

Regards,

Andrew.

Thank you Sir Andrew for your reply.

We are now using the new version.
But may we know the reason or cause of this problem?

I have an additional question:
In previous discussion, in case of transient analysis I could not
annotate the right sim value based on the specified time.

I have used the following commands to set the time in case of
transient:

cdf= cdfGetUserLibCDF(ddGetObj("myLibName"))
cdfId->paramSimTime      = "110u"
cdfId->termSimTime       = "110u"

The value that has been annotated is not changing based on the
indicated time.

I really appreciate your respond.

Thanks and have a nice day!
God bless! (^_^)
I have discovered that the following code does not really reflect the
transient time to the annotation of results on schematic:

cdfId->paramSimTime = "110u"
cdfId->termSimTime = "110u"

I have discovered that the following code will set the transient time
on Result Annotation in case of Transient Analysis:

w= getCurrentWindow()
w~>asaSimTime = "110u"

That's all. I hope it could be help to others. (^_^)
God bless to all!
 
On Jul 30, 6:55 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
ecnedad wrote, on 07/30/09 04:17:



On Jul 20, 9:01 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
ecnedad wrote, on 07/17/09 12:30:

Thanks for the information Sir Andrew, especially with the Log Filter
(now I could see the commands that were used on my every action).
But sevSession() function needs the Analog Design Environment. Is this
right?
Is it possible or is there any command that can be used to Annotate
the Results into the Schematic without usin Analog Design Environment?
For now I'm thinking the following procedure:
1. Use openResults() to extract the SimulationResultof all nets and
pins depend on the specify Analysis
    (by selectResults()).
2. Changed the value of nets and pins with the extracted Simulation
ResultValue.
3. And then display the changed value of all nets and pins.
But I don't know how to make the Steps 2 and 3 and I think this is
very slow.
Is there any way to annotate the SimulationResultto the Schematic in
much better way than this method?
I hope anyone could help me on this matter.
Thanks and God bless.
Here's what you need to do. Essentially a combination of properties on the
window, together with updating the effective CDF to control what gets displayed
in the cdsTerm/cdsParam labels.

openResults("./simulation/adc_cascode_opamp_sim/spectre/schematic")
win=hiGetCurrentWindow()
win~>artistSimulationDataDir=openResults()
win~>artistNetlistNameMapDir=strcat(openResults() "/netlist/amap")

; need to do this for the right library in your case
cdf=cdfGetUserLibCDF(ddGetObj("gpdk090"))
cdf~>termSimType="DC"
cdf~>termDisplayMode="voltage"
cdf~>paramSimType="DC"
cdf~>paramDisplayMode="opPoint"

Regards,

Andrew.

I have another problem.
My resultDir (psf) and my amapDir (/netlist/amap) have different
location.

Ex.
   resultDir = "./AnnotateResult/SimResult/psf"
   amapDir = "./AnnotateResult/amap"

With this structure of directory, I could not Annotate the result of
the resultDir.

Is there any way to Annotate Result using this kind of setup
(different location of psf and amap folder)?

Your response is very much appreciated.

Thanks and God bless. (^_^)

That's not really supported, but that can be achieved by having a "runObjFile"
with a value of the property "netlistDir" which points to the right location.

Easiest way is to run it in ADE, and then borrow the runObjFile from there, and
modify it as needed.

Regards,

Andrew.
Regarding the modification of runObjFile, I have modified the
"netlistDir" line and redirect to my ownnetlistDir.
And it works!
Thanks Sir Andrew!
 

Welcome to EDABoard.com

Sponsor

Back
Top