Hello,
I am currently working with a Simulink model for generating HDL code in Matlab 2021b, and I've incorporated a "Delay" block in my design. By default, the "Delay length" is set via the "Dialog" option. However, I am interested in adjusting the delay dynamically during runtime using an "Input port" as the source for "Delay length."
Upon attempting this setup, I encountered an error in the HDL Workflow Advisor, stating: "The delay length for the Delay block must be specified via Dialog."
I am reaching out to inquire if there is a workaround or an alternative method to implement a variable "Delay length" within the "Delay" block that is compatible with HDL coder. Your insights and suggestions on this matter would be greatly appreciated.
Thank you in advance.