Matlab, Simulink, Xilinx, FPGA ----> Hardware in the loop

1 view (last 30 days)
Hello to you all,
I have watched the webinars explaining the configuration of Simulink models to be run on FPGAs via Hardware in the loop. The examples were on image processing. From what I have seen, the bit stream was loaded into the FPGA, the FPGA ran the code and returned the results back to the computer.
However, in many FPGA applications it is necessary to output some results via PFGA pins (let's say lighting some LEDs or sendung data via a port). It is possible to do that using Hardware in the loop?
More specifically: I have a signal in the workspace and at first I wish to send the samples to a DAC.
Best regards,
Jean

Answers (1)

Tim McBrayer
Tim McBrayer on 7 Nov 2011
Instead of the FPGA-in-loop capability of HDL Coder, I will point you instead towards the FPGA Turnkey capability of the tool. If you choose "FPGA Turnkey" as the target workflow, you will be able to choose one of the many development boards directly supported by the HDL Workflow Advisor. Once you do this you can configure the target interface in the next workflow step to do what you are requesting; you can choose to what board resource each output of your DUT is directed to.
You can route outputs to FPGA interface pins, board LEDs, expansion headers, and other external interfaces on a particular board. You can also direct inputs in the same fashion, being able to read board pushbuttons, dip switches and so on.

Products

Community Treasure Hunt

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

Start Hunting!