MATLAB DESIGN HDL CODER RELEASE NOTES User's Guide Page 67

  • Download
  • Add to my manuals
  • Print
  • Page
    / 410
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 66
System Generator for DSP User Guide www.xilinx.com 67
UG640 (v 12.2) July 23, 2010
Compiling MATLAB into an FPGA
error('latency must be at least 1');
end
lat = lat - 1;
persistent dly,
if lat <= 0
y = reg_line.back;
else
dly = xl_state(zeros(1, lat), out_prec, lat);
y = dly.back;
dly.push_front_pop_back(reg_line.back);
end
for idx = len-1:-1:1
reg_line(idx) = reg_line(idx - 1) + coef_vec(len - idx - 1) * x;
end
reg_line(0) = coef_vec(len - 1) * x;
The parameters are configured as following:
Page view 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 409 410

Comments to this Manuals

No comments