HDL coder Black box replacement for MAtlab code

1 visualización (últimos 30 días)
Andrew Blasciak
Andrew Blasciak el 14 de Oct. de 2016
Respondida: Tim McBrayer el 18 de Oct. de 2016
I am using HDL coder to generate Verilog from a function (.m). I have a line of code wich assigns a result to an array. I would like HDL coder to automatically replace this line with an instantiation of a black box during its synthesis of the Verilog. Is this possible and How
Thanks

Respuestas (1)

Tim McBrayer
Tim McBrayer el 18 de Oct. de 2016
You will need to replace your assignment with a System object inherited from hdl.BlackBox, and place the correct assignment behavior inside the System object. Search the documentation for "hdl.BlackBox" for more details.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by