Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

How to print special character like " using sprintf()

$
0
0

Dear All,

I am trying to use getAsciiWave() in SKIL script. I want to vary the Y-column value.

So, I tried as below:-

ITR4=1

getAsciiWave(sprintf( nil "\"/mxp/ESD/INL_PI_64_CODE_MC.csv\" 1 %d ?xskip 0 ?yskip 0 ?formatFloat nil ?xName \"CODE#\" ?xUnits \"[]\" ?yName \"DELAY\" ?yUnits \"fs\"", ITR4)  )

The problem in above is the special character ". I tried using \ before it. This way sprintf works but it gives \" instead of ".

How this can be overcome ?

Kind Regards,


Viewing all articles
Browse latest Browse all 5066

Trending Articles



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