필터 지우기
필터 지우기

Import HDL Code for HDL Cosimulation Block with VHDL-2008

조회 수: 4 (최근 30일)
Malte
Malte 2022년 5월 31일
답변: Marc Erickson 2022년 6월 2일
Hi,
I need to import a VHDL File with VHDL-2008 for Cosimulation.
I tried in the Cosimulation Wizard in step HDL Compilation:
set compcmd [project compileall -2008]
This doesn't work.
How can I set the compile option VHDL-2008 for Modelsim?
I've used Matlab R2022a and Modelsim DE-64 2021.2
Best regards.

답변 (1개)

Marc Erickson
Marc Erickson 2022년 6월 2일
I could not find any way to directly specify the option for the project-based compilation. Instead, one must use the optoins set in the modelsim.ini.
Solution 1 (global):
update your system installation's version of the modelsim.ini to change the VHDL93 setting. This update would apply to all uses of the simulator.
Solution 2 (local):
Utilize a custom modelsim.ini file for the wizard and specify to use it in the project new command. Here's an example of modifying the wizard compilation commands:
Here is the contents of the ini file:
And here is a snippet of the resulting vcom compilation commands:

카테고리

Help CenterFile Exchange에서 HDL Coder에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by