フィルターのクリア

scalarize vector ports in generation vhdl code with hdl coder

1 回表示 (過去 30 日間)
soukaina
soukaina 2023 年 4 月 27 日
回答済み: Bharath Venkataraman 2023 年 5 月 1 日
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
Bharath Venkataraman 2023 年 5 月 1 日
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 Center および File ExchangeHDL Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by