In R2018a, how can I force HDL Coder to generate HDL code for a lookup table to use RAM or Block RAM?
조회 수: 2 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2018년 8월 16일
편집: MathWorks Support Team
2024년 1월 3일
I want to ensure that my LUT gets mapped to RAM by my synthesis tool.
How can I ensure the generated HDL code will indicate this to the synthesis tool?
채택된 답변
MathWorks Support Team
2023년 11월 15일
편집: MathWorks Support Team
2024년 1월 3일
RAM can be enforced in a synthesis tool by using synthesis attributes in the generated HDL code.
Currently (R2018a), HDL Coder does not have the ability to insert these synthesis attributes.
However, a common modeling pattern for lookup tables produces HDL code that is usually mapped to RAM. For more information on the same, please run the following command on MATLAB R2018a:
web(fullfile(docroot, 'hdlcoder/examples/getting-started-with-ram-and-rom-in-simulink.html'))
If this approach does not map to RAM for a particular model, please contact MathWorks Technical Support.
Please follow the below link to search for the required information regarding the current release:
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!