hdlcoder.optimizeDesign on matlab function
2 views (last 30 days)
Show older comments
I am trying to speed optimized a matlab generated hdl code. I managed to generate the code, synthesize and place and route, all from matlab.
The code functions ok, but reported max speed is too low.
Is it possible to feed it matlab function instead? Would it do anything if I simply place a matlab function into a single simulink block?
0 Comments
Accepted Answer
Kiran Kintali
on 24 Jan 2023
Edited: Kiran Kintali
on 25 Jan 2023
hdlcoder.optimizeDesign runs Simulink to HDL workflow (makehdl) under the hood.
I have communicated to the dev team the request to make it work with MATLAB to HDL (codegen -config:hdl command)
You can place the MATLAB code/function in a MATLAB function block and follow the Simulink workflow.
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!