필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Triggering video stream with AND gate.

조회 수: 3 (최근 30일)
ketan zamre
ketan zamre 2017년 12월 21일
마감: MATLAB Answer Bot 2021년 8월 20일
I would like to trigger live video stream with the use of AND gate in Simulink. I used 'from video device' block followed by enabled trigger, which is getting control signal from AND gate and obtaining it's display on video device block. The problem is, it is not generating HDL code for enabled subsystem, triggered subsystem and reset. Please suggest another block which can replace enabled subsystem. So that i can generate HDL code.

답변 (2개)

Kiran Kintali
Kiran Kintali 2017년 12월 21일
Control based subsystems (enable, triggered, resettable subsystems) are not supported at DUT level. Please consider creating one more level of hierarchy by creating additional subsystem and try HDL code generation.
  댓글 수: 1
ketan zamre
ketan zamre 2017년 12월 22일
Thanks for your response Kintali. I tried creating subsystem before for Enabled subsystem block but HDL coder doesn't able to find Enabled subsystem. Error: Specified HDL code generation system 'KetanTrigger/Enabled Subsystem' does not exist in model.

Bharath Venkataraman
Bharath Venkataraman 2017년 12월 22일
I believe that Kiran is asking you to put the enabled subsystem into a subsystem. TO do this, select the enabled subsystem and hit Ctrl-G. Then, generate HDL code for the top level subsystem (and not the enabled subsystem below).
  댓글 수: 2
ketan zamre
ketan zamre 2017년 12월 23일
I did the same, but then while generating HDL code, it gives error: Specified HDL code generation system does not exist in model.
Bharath Venkataraman
Bharath Venkataraman 2018년 1월 22일
Can you show the top-level model again with the new subsystem? You need to say makehdl(<top level subsystem name>) or right click on the subsystem and choose HDL code generation.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by