首页 > 微波/射频 > RFIC设计学习交流 > ocean script 输出出错 求大家帮助

ocean script 输出出错 求大家帮助

录入:edatop.com    阅读:

我设计了一个 delay locked loop, 现在要测phase detector. 想比较两个输入的clock的相位差不一样时,输出的信号的duty cycle 是多少,我用ocean跑了电路,告诉可以成功仿真,但是没有仿真后的结果,就是那个duty cycle是多少,以下是我的ocean 脚本文件. 红色的字体是我写的,黑色的字体是直接从cadence导出的。 我用了printf命令。我还实验了fprintf命令,直接报错,求各位大神指教
simulator( 'spectre )
design(
"/home/ecetmp130/simulation/phase_detector3/spectre/schematic/netlist/netlist")
resultsDir( "/home/ecetmp130/simulation/phase_detector3/spectre/schematic" )
modelFile(
    '("/home/ecetmp130/IBMFD/allcell.scs" "")
)
stimulusFile( ?xlate nil
    "/home/ecetmp130/simulation/phase_detector3/spectre/schematic/netlist/_graphical_stimuli.scs")
analysis('tran ?stop "30n"  )
desVar("p5vonly" 0)
desVar("phires" 0)
desVar("dltime" 0)
paramAnalysis("dltime" ?start 0 ?stop 1n ?step 100p)
paramRun()
cycle=dutyCycle(VT("/UP")-VT("/DW")  ?mode "auto"   ?xName "time"   ?outputType "average"  )
envOption(
'analysisOrder  list("tran")
)
temp( 27 )
run()
selectResult( 'tran )
printf("cycle=%f" cycle)

申明:网友回复良莠不齐,仅供参考。如需专业解答,请学习本站推出的微波射频专业培训课程

上一篇:不知是不是tsmc18rf 的bug
下一篇:请教大家cadence仿真问题

射频和天线工程师培训课程详情>>

  网站地图