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

*Error* fprintf/sprintf: illegal format spec. - " $monitor(\"Time: %t, Control Variable %f\\n\",$time,Ctrl_1_);\n"

$
0
0

 Hello,

Try to Create a Cadence view from the verilog file. Here is my section of the skill that it is having problem with.  If somebody has a easier way to create a Cadence view from a file let me know as well. I know what the problem here is but do not know the solution yet.

       if((ddGetObj(libName cellName viewName fileN nil "r") != nil) then
      CCScopyWrealCV(libName cellName viewName copyViewName)   
      ddDeleteObj(ddGetObj(libName cellName viewName fileN nil "r"))
      fileId = ddGetObj(libName cellName viewName fileN nil "w")
      WfileName = fileId~>readPath
      oPort  = outfile(WfileName)
      fileOut = infile(fileName)
      while(gets(string fileOut)
          fprintf(oPort string)          
      )
      close(fileOut)
      close(oPort)

Thanks


Viewing all articles
Browse latest Browse all 5066

Trending Articles



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