TLM Generator HDL coder
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
rzgr sdghi
le 18 Jan 2020
Réponse apportée : Marc Erickson
le 23 Jan 2020
Hi everybody.
I'm working on TLM generator facility of the MATLAB HDL coder version 2018b.
I try to implement the same example loacated in the MATLAB help with title "Getting Started with TLM Generator".
I follow the same steps in the tutorial but i get an error as shown below which i can't find where is the source of the error.
**********************************************************************************************************************************************
cl.exe /c /O2 /MT /D _NDEBUG /Fd".\obj\DualFilter_intro_tlm.pdb" /D "RT" /D "USE_RTMODEL" /D "WIN64" /D "_LIB" /D "_CRT_SECURE_NO_WARNINGS" /D "_UNICODE" /D "UNICODE" /I ".\include" /I "..\DualFilter\include" /I "..\DualFilter\utils" /I "" /I "" /D SC_INCLUDE_DYNAMIC_PROCESSES /nologo /FD /EHsc /W3 /TP /wd4244 /wd4267 /vmg /Foobj\DualFilter_intro_tlm.obj src\DualFilter_intro_tlm.cpp
cl : Command line error D8004 : '/I' requires an argument
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\cl.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
Error using tlmg.private.UtilTargetCC.verifyTlmComp
Build of generated component and testbench failed. See MATLAB command window.
Error in tlmg.TLMGRTTargetCC/verifyTlmComp
Error in verifyTlmgDemoModel (line 8)
eval(dcmd);
******************************************************************************************************************************************************
would you please tell me what shoud i do for this confusing error??
Thanks all.
0 commentaires
Réponse acceptée
Marc Erickson
le 23 Jan 2020
The SystemC environment variables are not set for the include path.
In the demo, the section, "Select TLM Compilation View", goes over the compiler environment variables required for successful compilation. It appears that SYSTEMC_INC_PATH and TLM_INC_PATH are not defined. You can check the definition of your variables using "getenv" at the MATLAB prompt like so:
>> getenv TLM_INC_PATH
ans =
'E:/Tools/SystemC/systemc-2.3.1/include'
>> getenv SYSTEMC_INC_PATH
ans =
'E:/Tools/SystemC/systemc-2.3.1/include'
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!