can we generate HDL code for matrix multiplication ?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi , I tried to generate hdl code for 20*20 matrix A multiplied with 20 *1 matrix B. But HDL code generation failed saying matrix inputs not acceptable. Please help how to proceed. Thank you!
댓글 수: 0
답변 (3개)
Kiran Kintali
2020년 12월 15일
hi satish, can you share more details?are both A and B inputs to the DUT or only one of them, what are the types, are you looking for fully parallel implementation or are you looking for any serialization or area reduction options in terms of DSP reduction for the partial products? please share a sample model with your usecase for additional guidance.
Kiran Kintali
2020년 12월 30일
Attaching few flavors of matrix multiplication compatible with HDL Coder.
- matmul_external_memory_20b.slx
- matmul_mlfb_fixpt_20b.slx
- matmul_with_const_20b.slx
- matmul_single_streaming_20b.slx
- matmul_single_20b.slx
Kiran Kintali
2021년 1월 11일
You can do this to open the models. The models do not use any new 20b features.
>> set_param(0, 'ErrorIfLoadNewModel', 'off')
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!