필터 지우기
필터 지우기

hdlcoder.optimizeDesign on matlab function

조회 수: 1 (최근 30일)
Anze Slosar
Anze Slosar 2023년 1월 24일
편집: Kiran Kintali 2023년 1월 25일
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.
I would like to use hdlcoder.oprimizedesign but it wants a simulunk model, not a matlab function.
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?

채택된 답변

Kiran Kintali
Kiran Kintali 2023년 1월 24일
편집: Kiran Kintali 2023년 1월 25일
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개)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by