How to set simulation time, sampling time, and model parameters in Simulink when using FPGA-in-the-loop
Show older comments
I am working on a simple Simulink model which takes an image as input and does edge detection in the output image. I am using Frames to pixels and pixels to frame blocks of Computer Vision Toolbox and a Sobel filter for edge detection. I am using a subsystem, which consists of filter, for HDL generation and FPGA implementation. When I am simulating this model in Simulink, it works perfectly fine but when I use FPGA-in-the-loop it doesn't produce any results. There is some problem in setting simulation parameters and sampling time but I am not sure about it. Any help will be greatly appreciated. Thanks.

Answers (1)
Bharath Venkataraman
on 16 Jan 2017
0 votes
Can you try just making the FPGA part a pass through to make sure that the FIl simulation is working? You may want to aslo look at the pixel and ctrl inputs and outputs to/from FIL to make sure that the FIL is being sent and is sending data.
1 Comment
Vishal Deep
on 17 Jan 2017
Categories
Find more on HDL Code Generation and Deployment in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!