MATLAB Answers

0

HDL code generation error.

Asked by ketan zamre on 20 Dec 2017
Latest activity Commented on by ketan zamre on 21 Dec 2017
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.

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Tim McBrayer on 20 Dec 2017

You can place your enabled subsystem inside another subsystem. This should allow you to generate DHL code for the design.

  2 Comments

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.
One more error in addition to this: For block enabled subsystem, Matrices are not supported at Simulink block interface.

Sign in to comment.