Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62688

Forum Post: RE: lxCheck but with useful return?

$
0
0
Dan, Try this: procedure(CCFlxCheck(cv) let(((port outstring())) ; might not want to capture the warnings - if not, miss out the (woport port) bit let(((woport port) (poport port)) lxCheck(cv) ) prog1( getOutstring(port) close(port) ) ) ) Then you can do: report=CCFlxCheck(cv) You'll get the text in a string - you could then use parseString(report "\n") to get a list of lines at the newline separators and so on. The above works by opening an output port which writes into a string, and then temporary redirects poport/woport to write to that port (this uses dynamic scoping so that when the stack unwinds the ports are correctly restored). No temporary files were harmed in the execution of this function ;-) Regards, Andrew.

Viewing all articles
Browse latest Browse all 62688

Trending Articles



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