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.

为什么编译CLB相关例程时,不能自动生成CLB文件?

Other Parts Discussed in Thread: C2000WARE

操作顺序依然是根据手册来的,软件也安装过了。设置的路径以及运行结果如下图所示,但找不到CLB.VCD文件。望解答,谢谢!

  • 您是否有参考下面的文档?

    www.ti.com.cn/.../zhcu712.pdf
  • 是按照手册顺序做的,两个软件也安装好了,无法生成文件呢

  • 好的,我会在确认后给您回复
  • 请您给出在build工程时,console的完整信息

    看起来您的路径设置是没有问题的
  • 请确保您使用的是下面的TDM文件

    https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm64-gcc-5.1.0-2.exe/download 

    并且不要选择下面的设置

    我这是可以正常生成的

  • **** Build of configuration Debug for project clb_ex16_glue_logic ****

    "C:\\ti\\ccs1011\\ccs\\utils\\bin\\gmake" -k -j 4 all -O

    Building file: "syscfg/clb_sim.cpp"
    Invoking: C2000 Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="D:/CCS workspace/280049/clb_ex16_glue_logic" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/driverlib/f28004x/driverlib" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --define=_LAUNCHXL_F280049C --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/clb_sim.d_raw" --include_path="D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/syscfg" --obj_directory="syscfg" "syscfg/clb_sim.cpp"
    Finished building: "syscfg/clb_sim.cpp"

    Building file: "../f28004x_CodeStartBranch.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="D:/CCS workspace/280049/clb_ex16_glue_logic" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/driverlib/f28004x/driverlib" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --define=_LAUNCHXL_F280049C --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="f28004x_CodeStartBranch.d_raw" --include_path="D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/syscfg" "../f28004x_CodeStartBranch.asm"
    Finished building: "../f28004x_CodeStartBranch.asm"

    Building file: "../device.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="D:/CCS workspace/280049/clb_ex16_glue_logic" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/driverlib/f28004x/driverlib" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --define=_LAUNCHXL_F280049C --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device.d_raw" --include_path="D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/syscfg" "../device.c"
    Finished building: "../device.c"

    Building file: "syscfg/clb_config.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="D:/CCS workspace/280049/clb_ex16_glue_logic" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/driverlib/f28004x/driverlib" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --define=_LAUNCHXL_F280049C --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/clb_config.d_raw" --include_path="D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/syscfg" --obj_directory="syscfg" "syscfg/clb_config.c"
    Finished building: "syscfg/clb_config.c"

    Building file: "../clb_ex16_glue_logic.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="D:/CCS workspace/280049/clb_ex16_glue_logic" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/driverlib/f28004x/driverlib" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --define=_LAUNCHXL_F280049C --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="clb_ex16_glue_logic.d_raw" --include_path="D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/syscfg" "../clb_ex16_glue_logic.c"
    Finished building: "../clb_ex16_glue_logic.c"

    Building target: "clb_ex16_glue_logic.out"
    Invoking: C2000 Linker
    "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 --fp_mode=strict --define=_LAUNCHXL_F280049C --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"clb_ex16_glue_logic.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/lib" -i"C:/ti/c2000/C2000Ware_3_03_00_00/driverlib/f28004x/driverlib/ccs/Debug" -i"C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="clb_ex16_glue_logic_linkInfo.xml" --rom_model -o "clb_ex16_glue_logic.out" "./clb_ex16_glue_logic.obj" "./syscfg/clb_config.obj" "./syscfg/clb_sim.obj" "./device.obj" "./f28004x_CodeStartBranch.obj" "../28004x_generic_ram_lnk.cmd" -ldriverlib.lib -llibc.a
    <Linking>
    Finished building target: "clb_ex16_glue_logic.out"

    mkdir "D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/simulation"
    makefile:173: recipe for target 'post-build' failed
    子目录或文件 D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/simulation 已经存在。
    gmake[2]: [post-build] Error 1 (ignored)
    C:/TDM-GCC-64/bin/g++ -c -DCLB_SIM -IC:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -IC:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/include/type2 -ID:/CCS workspace/280049/clb_ex16_glue_logic -IC:/TDM-GCC-64/bin/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MFD:/CCS workspace/280049/clb_ex16_glue_logic/Debug/simulation/clb_sim.d -MTD:/CCS workspace/280049/clb_ex16_glue_logic/Debug/simulation/clb_sim.o -ID:/CCS workspace/280049/clb_ex16_glue_logic/Debug/syscfg -fno-threadsafe-statics -oD:/CCS workspace/280049/clb_ex16_glue_logic/Debug/simulation/clb_sim.o D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/syscfg/clb_sim.cpp
    makefile:173: recipe for target 'post-build' failed
    g++: error: workspace/280049/clb_ex16_glue_logic: No such file or directory
    g++: error: workspace/280049/clb_ex16_glue_logic/Debug/simulation/clb_sim.d: No such file or directory
    g++: error: workspace/280049/clb_ex16_glue_logic/Debug/simulation/clb_sim.o: No such file or directory
    g++: error: workspace/280049/clb_ex16_glue_logic/Debug/syscfg: No such file or directory
    g++: error: workspace/280049/clb_ex16_glue_logic/Debug/simulation/clb_sim.o: No such file or directory
    g++: error: D:/CCS: No such file or directory
    g++: error: workspace/280049/clb_ex16_glue_logic/Debug/syscfg/clb_sim.cpp: No such file or directory
    g++: fatal error: no input files
    compilation terminated.
    gmake[2]: [post-build] Error 1 (ignored)
    C:/TDM-GCC-64/bin/g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/simulation/simulation_output.map -LC:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -oD:/CCS workspace/280049/clb_ex16_glue_logic/Debug/simulation/simulation_output.exe D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/simulation/clb_sim.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_FSM_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_HLC_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_LUT4_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_OutputLUT_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_counter_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_counter_top_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_FSM_top_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_LUT4_top_SC_model.o C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_OutputLUT_top_SC_model.o -Wl,--start-group -lsystemc -Wl,--end-group
    makefile:173: recipe for target 'post-build' failed
    g++: error: workspace/280049/clb_ex16_glue_logic/Debug/simulation/simulation_output.map: No such file or directory
    g++: error: workspace/280049/clb_ex16_glue_logic/Debug/simulation/simulation_output.exe: No such file or directory
    g++: error: D:/CCS: No such file or directory
    g++: error: workspace/280049/clb_ex16_glue_logic/Debug/simulation/clb_sim.o: No such file or directory
    gmake[2]: [post-build] Error 1 (ignored)
    ./simulation/simulation_output.exe
    makefile:173: recipe for target 'post-build' failed
    process_begin: CreateProcess(NULL, ./simulation/simulation_output.exe, ...) failed.
    make (e=2): 系统找不到指定的文件。

    gmake[2]: [post-build] Error 2 (ignored)
    C:/ti/ccs1011/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js" "C:/ti/c2000/C2000Ware_3_03_00_00/utilities/clb_tool/clb_syscfg" "D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/syscfg" "D:/CCS workspace/280049/clb_ex16_glue_logic/Debug/syscfg/clb.dot"
    CLB block diagram SVG was created!
    CLB block diagram HTML was created!


    **** Build Finished ****

    信息是这样的,如果可以解决,真的是太感谢了。
  • 请问您的TDM文件版本是多少?请确保使用我之前提到的版本。新版本的我测试了一下是不能生成的。