Error in HDL Code Generation "Colon operands must have integer values when interacting with type 'embedded.fi'."

2 visualizaciones (últimos 30 días)
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?

Respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by