Error in HDL Code Generation "Colon operands must have integer values when interacting with type 'embedded.fi'."
显示 更早的评论
Hello,
getting started with an FPGA (Zynq xc7z020 with Xilinx Vivado), I received an error while validating datatypes in the step "fixed-point conversion". The Error says: "Colon operands must have integer values when interacting with type 'embedded.fi'.". Pictures of the code and the error are included. Now my overall goal is to create a Sinus as an FPGA Output. So I included a time vector to define the resolution for my sinus curve. That's what the variable "time" consists of, but it seems like I can't define my time vector like this. What's the solution? Can I define a vector with this resolution in any other way?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 AMD FPGA and SoC Devices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!