Clear Filters
Clear Filters

scalarize vector ports in generation vhdl code with hdl coder

2 views (last 30 days)
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.

Answers (1)

Bharath Venkataraman
Bharath Venkataraman on 1 May 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!