Error in HDL Code Generation "Colon operands must have integer values when interacting with type 'embedded.fi'."
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!