MATLAB Answers

About image processing on fpga

14 views (last 30 days)
HI i am using matlab 2015b i want to generater VHDL code for sobel edge detection from the simulink model but some blocks for that are not compatible with the HDL code generation.. so what can i do? is it possible to generate VHDL code for the same? and this generated code can be implemented on FPGA(ALTERA)?

  0 Comments

Sign in to comment.

Accepted Answer

Bharath Venkataraman
Bharath Venkataraman on 28 Sep 2016
Edited: Bharath Venkataraman on 28 Sep 2016
Just wanted to confirm that you are trying to find Vision HDL Toolbox and not Computer Vision System Toolbox.
Just use the regular Simulink library list and try to find Vision HDL Toolbox. All blocks in there are compatible for HDL code genration, except for the Frame To Pixels and Pixels to Frame blocks, which are for simulation alone.

  1 Comment

shraddha swami
shraddha swami on 29 Sep 2016
ok sir thank you.I want to generate vhdl code for sobel edge detection for an image stored on memory, so i took image from file ,edge detection and video viewer blocks. simulation is working but while generating HDL code i got an error "matrices are not supported at simulink block interfaces" and i am using matlab 2015b. link that you sent me is for 2016b.what should i do? am i going on right way?

Sign in to comment.

More Answers (1)

Bharath Venkataraman
Bharath Venkataraman on 27 Sep 2016
You can use the Edge Detection block in Vision HDL Toolbox - that block generates HDL code.

  1 Comment

shraddha swami
shraddha swami on 28 Sep 2016
thank you sir. but i tried for that. i am unable to get vhdl code from the model. vision HDL toolbox is not available in 'HDL library browser' that means it is not compatible with the HDL code generation.but in help i found that blockset as compatible. so i am not getting what to do? please help me

Sign in to comment.

Sign in to answer this question.