How set block parameter over Zynq AXIS Lite bus?

1 visualización (últimos 30 días)
Luk McCregor
Luk McCregor el 20 de Mayo de 2022
Comentada: Luk McCregor el 23 de Mayo de 2022
I need to change some parameters inside HDL Coder blocks during the execution (for example the value of the costant, HDL Counter, Compare To Constant,...) with the AXI4-Lite bus after the creation of the IP Core for Vivado. How can i do it? maybe with the ExportedGlobal declaration for the variables used?

Respuesta aceptada

Kiran Kintali
Kiran Kintali el 22 de Mayo de 2022
Generate DUT Ports for Tunable Parameters
Tunable parameters that you use to adjust your model behavior during simulation can map to top-level DUT ports in your generated HDL code. HDL Coder™ generates one DUT port per tunable parameter.
You can generate a DUT port for a tunable parameter by using it in one of these blocks:
  • Gain
  • Constant
  • MATLAB Function
  • MATLAB System
  • Chart
  • Truth Table
  • State Transition Table
These blocks with the tunable parameter can be at any level of the DUT hierarchy, including within a model reference.

Más respuestas (0)

Categorías

Más información sobre HDL Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by