EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

Error in ocean script!

elektroda.net NewsGroups Forum Index - Cadence - Error in ocean script!

Samiran
Guest

Tue Jun 08, 2010 1:04 pm   



Dear all,

I am trying to run a batch simulation through ocean script where
dependent upon input signal frequency transient analysis simulation
time will be fixed. For this my approach is:

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
....
stop_time = 1/freq ; freq is a design variable which changes in
each iteration.
....
analysis('tran ?start 0 ?stop stop_time ?errpreset "conservative" ?
write "spectre.ic" ?writefinal "spectre.fc" ?annotate "status" ?
finalTimeOp t ?maxiters "5" ?threshold "0.0" ?detail "node" ?sort
"name" )
....

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////

But when I run the script I am getting an error:

Error found by spectre during transient analysis `tran'.
Stop time must follow start.
Analysis `tran' terminated prematurely due to error.

But when I hard code the stop_time inside the script like I have shown
below, it is working fine.

stop_time = 0.2m

Please help me!!!

Regards
Samiran

olivier burg
Guest

Thu Jul 01, 2010 11:58 pm   



On Jun 8, 12:04 pm, Samiran <samiran....@gmail.com> wrote:
Quote:
Dear all,

I am trying to run a batch simulation through ocean script where
dependent upon input signal frequency transient analysis simulation
time will be fixed. For this my approach is:

///////////////////////////////////////////////////////////////////////////­////////////////////////////////////////
...
stop_time =  1/freq   ; freq is a design variable which changes in
each iteration.
...
analysis('tran ?start 0 ?stop stop_time  ?errpreset "conservative"  ?
write "spectre.ic"  ?writefinal "spectre.fc"  ?annotate "status"  ?
finalTimeOp t  ?maxiters "5"  ?threshold "0.0"  ?detail "node"  ?sort
"name"  )
...

///////////////////////////////////////////////////////////////////////////­////////////////////////////////////////

But when I run the script I am getting an error:

Error found by spectre during transient analysis `tran'.
    Stop time must follow start.
Analysis `tran' terminated prematurely due to error.

But when I hard code the stop_time inside the script like I have shown
below, it is working fine.

stop_time = 0.2m

Please help me!!!

Regards
Samiran


What about stop_time = 1.0/freq instead of stop_time = 1/freq ?
I think 1 / freq is considered as integer / real and returns an
integer, so that if e.g freq=1M, stop_time = 1/1M returns 0 - hence
the spectre error -,
but stop_time=1.0/1M returns 1e-6.

Oliver

elektroda.net NewsGroups Forum Index - Cadence - Error in ocean script!

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony