This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/TMS320F28379S:CLB 仿真

Guru**** 2540720 points
Other Parts Discussed in Thread: C2000WARE

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/961688/ccs-tms320f28379s-clb-simulation

器件型号:TMS320F28379S
主题中讨论的其他器件:C2000WARE

工具/软件:Code Composer Studio

大家好、我必须更改 T-format 主接口(最初是 launchxl-f2839d 卡)附带的 CLB 代码、我想按照 CLB 工具中的建议对其进行仿真、并使用 C2000可配置逻辑块进行设计。

问题是编译的编译后处理部分失败。  

mkdir "C:/Users/Don morg/workspace_v11/PM_tformat_lib/release/simulation"
Makefile:154:目标'post-build'的配方失败
Process_begin:CreateProcess (NULL、./simulation/simulation_output.exe、...) 失败。

子目录或文件 C:/Users/Don morg/workspace_v11/PM_tformat_lib/release/simulation 已存在。
gmaking[1]:[编译后]错误1 (忽略)
G++:错误:摩根/workspace_v11/PM_tformat_lib:没有这样的文件或目录
G++:错误:morgan/workspace_v11/PM_tformat_lib/release/simulation/Clb_sim.d:无此类文件或目录
G++:错误:morgan/workspace_v11/PM_tformat_lib/release/simulation/Clb_sim.o:无此类文件或目录
G++:错误:摩根/workspace_v11/PM_tformat_lib/release/syscfg:没有此类文件或目录
G++:错误:morgan/workspace_v11/PM_tformat_lib/release/simulation/Clb_sim.o:无此类文件或目录
G++:错误:C:/Users/Don:无此类文件或目录
G++:错误:摩根/workspace_v11/PM_tformat_lib/release/syscfg/clb_sim.cpp:无此类文件或目录
G++:致命错误:无输入文件
编译已终止。
gmaking[1]:[编译后]错误1 (忽略)
G++:错误:morg/workspace_v11/PM_tformat_lib/release/simulation_output.map:没有这样的文件或目录
G++:错误:morg/workspace_v11/PM_tformat_lib/release/simulation_output.exe:没有这样的文件或目录
G++:错误:C:/Users/Don:无此类文件或目录
G++:错误:morgan/workspace_v11/PM_tformat_lib/release/simulation/Clb_sim.o:无此类文件或目录
gmaking[1]:[编译后]错误1 (忽略)
gmaking[1]:[编译后]错误2 (忽略)
C:/TDM-GCC-64/bin/g++-c -DCLB_SIM -IC:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src /Users/Don /Users/Don -IC:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include /Users/Don /Users/Don -IC:/Users/Don /Users/Don clb_sim.cpp morgan/workspace_v11/PM_tformat_lib -IC:/TDM-GCC-64/bin/include -g -gdwarf-3 -gsim -war -war -wav11/PM_tformat/tmorg/texcl/texcl_ms/texcl_ms/texcl/texcl/texcl/texcl/texcl_ms/texcl/texcl/texcl_ms/tpd/tex-tex-tex-tex-tex-t/tex-tex-t/tex-tex-mctrad_mcu/t/tex-tex-t/tex-tex-tex-mcu/tex-tex-mcu/tex-mcu/t/tex-tex-tex-tex-t/tex-t/tex-tex-t/tex-t/tex-tex
Makefile:154:目标'post-build'的配方失败
C:/TDM-GCC-64/bin/g++-DCLB_SIM -DF2837xS -og -g -gdwarf-3 -gstrict-dwarf -Wall -WL、-Map、C:/Users/Don morg/workspace_v11/PM_tformat_lib/release/simulation_out.map -lc:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -wL_twl -/twl:simulation_output.exe /Users/Don /ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_LUT4_SC_model.o -twl/twl_group/texemulation_simulation -twl:/Users/Don /ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_HLC_SC_model.o -twl/twl/twl/tesimulation -twl:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_counter_SC_model.o -twl/twl/twl:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_FSM_SC_model.o /ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_OutputLUT_SC_model.o
Makefile:154:目标'post-build'的配方失败
/simulation/simulation_output.exe
Makefile:154:目标'post-build'的配方失败
C:/ti/ccs1010/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js "C:/ti/c2000/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/utilities/clb_tool/clb_syscfg "C:/Users/Don morgan/tworkspace_v11/PM_tformat_lib/release/syscfg""C:/Users/Don morg/workspace_v11/PM_tformat_lib/release/syscfg/clb.dot"
创建了 CLB 方框图 SVG!
创建了 CLB 方框图 HTML!

我已经反复检查了我的设置。 我得到 makefile:154和 makefile:155错误。

其他一切都正常工作。 你怎么看?

谢谢、Don

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    在资源路径下向我发送项目属性的图片、其中定义了所有路径。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    这就是您的问题。 未定义变量:

    摩根/workspace_v11/PM_tformat_lib/release/simulation/Clb_sim.d

    这不正确。

    截屏显示"Build"->"Post Build"步骤。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    以下是一种可能性:

    我注意到 G++编译器将我的用户名分为两个- Don Morgan、即 Don (space) Morgan。

    有时、它似乎搜索 DON 目录、有时搜索 Morgan 目录。 当然、两者都不存在、因此无法找到它们等

    是否有解决方法? 工作区是否需要位于用户目录中?

    谢谢、

    Don

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我将项目移动到了 C:驱动器、从用户那里找到了所有(我认为可能只是大多数)要设置的路径和变量、现在、我得到了以下结果:

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    看起来好像在编译、您的路径是正确的。 您是否获得了 VCD 文件?

    如果未创建 VCD 文件:

    您是否使用用户指南中提到的 TDM 编译器的特定版本? 如果使用最新版本或任何其他版本、则 TDM 编译器会出现构建错误。  

    现在似乎您的所有路径都在顺利完成、唯一的问题可能是您的 TDM 编译器?

    NIMA