HDL code generation error.

조회 수: 9 (최근 30일)
ketan zamre
ketan zamre 2017년 12월 20일
댓글: ketan zamre 2017년 12월 21일
Designed simulink model, in which we are getting live video stream from 'From video devices' block followed by enabled subsystem block which is triggered from AND gate and getting result on Video Display block accordingly, but not able to generate HDL code. It shows an error: Enable, Trigger, and Reset Ports are not supported in the top level system for HDL code generation.

답변 (1개)

Tim McBrayer
Tim McBrayer 2017년 12월 20일
You can place your enabled subsystem inside another subsystem. This should allow you to generate DHL code for the design.
  댓글 수: 2
ketan zamre
ketan zamre 2017년 12월 21일
편집: ketan zamre 2017년 12월 21일
Thank you McBrayer for your response. Problem was solved by creating subsystem for Enabled subsystem. I have also created subsystem for AND gate circuit. But one more error occured
: Specified HDL code generation system 'KetanTrigger/Enabled Subsystem' does not exist in model.
ketan zamre
ketan zamre 2017년 12월 21일
One more error in addition to this: For block enabled subsystem, Matrices are not supported at Simulink block interface.

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by