scalarize vector ports in generation vhdl code with hdl coder

2 次查看(过去 30 天)
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.

回答(1 个)

Bharath Venkataraman
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.

类别

Help CenterFile Exchange 中查找有关 HDL Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by