Home > Community > Search
Login with a Cadence account.
Not a member yet?
Create a permanent login account to make interactions with Cadence more conveniennt.

Register | Membership benefits

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Community Search 

Page 1 of 2 (15 items) 1 | 2 | Next >
  • Re: analysis using ocean
    Hello Andrew,  When using  foreach(val variable   fprintf(out if(numberp(val) "%n\t" "%s\t") val) )  can i increase the number resolution? There is output but it came out as 0.0000, the value i'm expecting is 2e-9 (for example)   y 
    Posted to Custom IC Design (Forum) by yeong on Thu, Sep 26 2013
  • Re: analysis using ocean
    Thanks andrew. It works well now. y 
    Posted to Custom IC Design (Forum) by yeong on Mon, Jul 15 2013
  • Re: analysis using ocean
    The script works fine after i tweak the variable values to be all float number. and use %g instead of %N. Does it have to do with the version? I'm using version 5.1.0  I tried the example in CIW,variable='("hello" 4.2 27)out=stdoutforeach(val variable  fprintf(out if(numberp(val) "%N\t" "%s\t") ...
    Posted to Custom IC Design (Forum) by yeong on Tue, Jul 9 2013
  • Re: analysis using ocean
    What is %N use for? foreach(val variable  fprintf(out if(numberp(val) "%N\t" "%s\t") val))  that return: synatx error encountered in input i tried using:  foreach(val variable   fprintf(out if(numberp(val) "%g\t%s\t") val))  and that return: type template = ...
    Posted to Custom IC Design (Forum) by yeong on Mon, Jul 8 2013
  • Re: analysis using ocean
    Thanks Andrew, it works perfectly.  I'm also interested to list all the variable corner temp iled i differential_psrr in a list and fprint them  variable=list( corner temp i ) foreach(val variable fprintf(out "%g\t"  val) ) error mgs: Error fprintf/sprintf: format spec. incompatible with data ...
    Posted to Custom IC Design (Forum) by yeong on Mon, Jul 8 2013
  • Re: analysis using ocean
    this is the script. simulation runs fine, but no data in test.txtocnWaveformTool('wavescan ) simulator( 'spectre ) out=outfile("test.txt" "w") design(     "/xxx/spectre/schematic/netlist/netlist") ;resultsDir( "/xxx/spectre/schematic" ) analysis('ac ?start "1"  ...
    Posted to Custom IC Design (Forum) by yeong on Thu, Jul 4 2013
  • Re: analysis using ocean
    sorry, i forgot to include the arguments in the post. fprintf(out "%s\t%d\t%g\t%g\t%g\%g\n" corner temp y1 y2 differential_psrr )  the arguments as declared in the script previously.  
    Posted to Custom IC Design (Forum) by yeong on Thu, Jul 4 2013
  • Re: analysis using ocean
    Andrew, I want to print my output as follows: corner temp iled i differential_psrr etc etc tt_lib    -40   1m 1u 60.34  xx xx   I tried to use fprintf instead of ocnPrint. Simulation completed without error, however there is no data in the output file. There is no problem using ocnPrint, just need to organise it a bit ...
    Posted to Custom IC Design (Forum) by yeong on Wed, Jul 3 2013
  • Re: analysis using ocean
    Andrew, This works, however the file name doesnt match the variables used. sprintf(myResultsDir "/xxx%s_%d%g" corner temp iled)  I have to use  sprintf(myResultsDir "/xxx%s_%d%g" corner y1 y2) instead. In this case the file name matches the variable. Any reason why?  
    Posted to Custom IC Design (Forum) by yeong on Wed, Jul 3 2013
  • Re: analysis using ocean
    i used this to group model corners togther, but what should i do for the variable, such as temp, iled, etc for model corners i use: myResultsDir=strcat("/xxx" corner) resultsDir(myResultsDir) y
    Posted to Custom IC Design (Forum) by yeong on Mon, Jul 1 2013
Page 1 of 2 (15 items) 1 | 2 | Next >