在matlab中如何生成。hex文件供FPGA使用
在matlab中如何生成。hex文件供FPGA使用为什么生成的文件不能直接在quatus中直接用啊,最后用编程器转化了就能用了
fid=fopen('fina.hex','wb')
for f=[1,2,3]
a=60;pitch=0.46;n=1:16;
A=[my_fun(a,f,pitch,n),my_fun2(a,f,pitch,n);
fwrite(fid,A);
end
fclose(fid)
2006-09-21 15:47