Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4906

ocnPrint to File

$
0
0

Using `ocnPrint` to write a waveform to a file, I am unable to locate the file it writes to if it even writes to the file. I have tried relative and absolute paths and searched through the simulation results directory, `getSkillPath()`directories, as well as the project location. Oddly enough the output that should be printed to the file is printed in the CIW. The OCEAN commands are called through Python-Skill Bridge, which simply allows to use OCEAN commands in Python for further processing.

How can I use the `ocnPrint`-function to write the waveform to a findable file?

# copied from File > Create Script... in maestro
ws['ocnSetXLMode']("explorer") # set mode to OCEANXL
ws['ocnxlProjectDir']("~/simulations") # location of simulation results
ws['ocnxlTargetCellView']("Library", "cell", "view") # substituted values by general names
ws['ocnxlResultsLocation']("") # same as project dir
ws['ocnxlSimResultsLocation']("") # same as project dir
ws['ocnxlMaxJobFail'](20)
# own addition
ws['openResults'](path_data)
ws['selectResult'](Symbol("tran"))
data=ws['getData']("/net1")
res=ws['ocnPrint']("?output", "./myOutputFile", data) # copied from OCEAN reference guide

Viewing all articles
Browse latest Browse all 4906

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>