Does somebody know how to pipe the output of a skript launched with the
load("skriptname.ocn") command to a log file?
I did not find any option to that topic in the documentation
Thanks for any suggestion
Norman
There's a function, hiStartLog(), and another (you've guessed it), hiEndLog()
which allow you to send all log data to an additional second file.
Alternatively you make your OCEAN script write to a port, which could default
to poport, but could be changed to be the result of an outfile.
For example:
procedure(myOCEAN(@optional (OCNport poport)
...
fprintf(OCNport "Blah blah\n")
ocnPrint(?output OCNport ...)
)
then:
load("myOCEAN.ocn")
output=outfile("./output.txt")
myOCEAN(output)
close(output)
Regards,
Andrew.
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd