|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 duke2050 于 2012-7-23 21:30 编辑
各位大侠好,
我进行瞬态仿真后,想用ocean将仿真结果导出来,在terminal中运行ocean文本时,出现错误如下:
ocean> *Error* fprintf/sprintf: format spec. incompatible with data - nil
我的ocean脚本如下:
openResults( "./Sim/TESTBENCH_ADC_TOP/spectre/config/psf" )
results()
selectResult( 'tran )
myfile=outfile("mydata.txt" "w")
for(n 0 1000
prTime=n*3.3333e-6+9.5e-6
fprintf(myfile, "%f %.5f\n" prTime value(VT("/D9") prTime))
) ;; for n
close(myfile)
谢谢各位大侠了!!! |
|