Info
This question is closed. Reopen it to edit or answer.
Triggering video stream with AND gate.
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (2)
Kiran Kintali
on 21 Dec 2017
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 Comment
Bharath Venkataraman
on 22 Dec 2017
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 Comments
Bharath Venkataraman
on 22 Jan 2018
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.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!