scalarize vector ports in generation vhdl code with hdl coder

2 vues (au cours des 30 derniers jours)
soukaina
soukaina le 27 Avr 2023
I try to implement median filter in FPGA with matlab, but in the step ''verify with cosimulation" i got that error "vector port is not currently supported. turn on hdl code generation option "scalarize vector ports", and then re-generate hdl code". when I turn on this option the simulation doesn't finish . please can you help me to know what's I need to do.

Réponses (1)

Bharath Venkataraman
Bharath Venkataraman le 1 Mai 2023
I suspect that you are sending in the entire frame of video into the median filter at one shot. I suggest you stream the video in, one pixel at a time to the median filter.
Here is an example of how we use pixel streaming in Simulink to median and image filters for noise removal. This is an example in MATLAB.

Community Treasure Hunt

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

Start Hunting!

Translated by