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/TMS320F28379D: CLB

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

Tool/software: Code Composer Studio

I want to use CLB in 28379D now. I have installed CCS9.3.0.00012_win64, C2000Ware_2_01_00_00, tdm64-gcc-9.2.0, gtkwave-3.3.100-bin-win64. But when I build CLB project, there is always an error when generate the .exe and .vcd file. For example, when i build the CLB example file C:\ti\c2000\C2000Ware_2_01_00_00\driverlib\f2837xd\examples\cpu1\clb\CCS\clb_ex8_external_signal_AND_gate.projectspec, the console information is as below. Could you help check what's the reason?

**** Build of configuration Debug for project clb_ex8_external_signal_AND_gate ****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
 
Building file: "../clb_ex8_external_signal_AND_gate.syscfg"
Invoking: SysConfig
"C:/ti/ccs930/ccs/utils/sysconfig/sysconfig_cli.bat" -d "F2837xD" -s "C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/.metadata/product.json" -o "syscfg" "../clb_ex8_external_signal_AND_gate.syscfg"
Running script...
Validating...
Generating Code...
Writing C:\CCSworkspace\clb_ex8_external_signal_AND_gate\Debug\syscfg\clb_config.h...
Writing C:\CCSworkspace\clb_ex8_external_signal_AND_gate\Debug\syscfg\clb_config.c...
Writing C:\CCSworkspace\clb_ex8_external_signal_AND_gate\Debug\syscfg\clb.dot...
Writing C:\CCSworkspace\clb_ex8_external_signal_AND_gate\Debug\syscfg\clb_sim.cpp...
Finished building: "../clb_ex8_external_signal_AND_gate.syscfg"
 
Building file: "../clb_ex8_external_signal_AND_gate.c"
Invoking: C2000 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.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="C:/CCSworkspace/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/device_support/F2837xD/common/include" --include_path="C:/CCSworkspace/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="clb_ex8_external_signal_AND_gate.d_raw" --include_path="C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg"  "../clb_ex8_external_signal_AND_gate.c"
Finished building: "../clb_ex8_external_signal_AND_gate.c"
 
Building file: "syscfg/clb_config.c"
Invoking: C2000 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.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="C:/CCSworkspace/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/device_support/F2837xD/common/include" --include_path="C:/CCSworkspace/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --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="C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg" --obj_directory="syscfg"  "syscfg/clb_config.c"
Finished building: "syscfg/clb_config.c"
 
Building file: "syscfg/clb_sim.cpp"
Invoking: C2000 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.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="C:/CCSworkspace/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/device_support/F2837xD/common/include" --include_path="C:/CCSworkspace/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --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="C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg" --obj_directory="syscfg"  "syscfg/clb_sim.cpp"
Finished building: "syscfg/clb_sim.cpp"
 
Building file: "../device/F2837xD_CodeStartBranch.asm"
Invoking: C2000 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.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="C:/CCSworkspace/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/device_support/F2837xD/common/include" --include_path="C:/CCSworkspace/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device/F2837xD_CodeStartBranch.d_raw" --include_path="C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg" --obj_directory="device"  "../device/F2837xD_CodeStartBranch.asm"
Finished building: "../device/F2837xD_CodeStartBranch.asm"
 
Building file: "../device/device.c"
Invoking: C2000 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.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="C:/CCSworkspace/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/device_support/F2837xD/common/include" --include_path="C:/CCSworkspace/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg" --obj_directory="device"  "../device/device.c"
Finished building: "../device/device.c"
 
Building target: "clb_ex8_external_signal_AND_gate.out"
Invoking: C2000 Linker
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.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=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"clb_ex8_external_signal_AND_gate.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/lib" -i"C:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib/ccs/Debug" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="clb_ex8_external_signal_AND_gate_linkInfo.xml" --rom_model -o "clb_ex8_external_signal_AND_gate.out" "./clb_ex8_external_signal_AND_gate.obj" "./syscfg/clb_config.obj" "./syscfg/clb_sim.obj" "./device/F2837xD_CodeStartBranch.obj" "./device/device.obj" "../2837xD_RAM_lnk_cpu1.cmd"  -ldriverlib.lib -llibc.a
<Linking>
Finished building target: "clb_ex8_external_signal_AND_gate.out"
 
mkdir "C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/simulation"
C:/TDM-GCC-64/bin/g++  -c -DCLB_SIM -IC:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -IC:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include -IC:/CCSworkspace/clb_ex8_external_signal_AND_gate -IC:/TDM-GCC-64/bin/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MFC:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/simulation/clb_sim.d -MTC:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/simulation/clb_sim.o -IC:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg   -fno-threadsafe-statics  -oC:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/simulation/clb_sim.o C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb_sim.cpp
C:/TDM-GCC-64/bin/g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/simulation/simulation_output.map -LC:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -oC:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/simulation/simulation_output.exe C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/simulation/clb_sim.o C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_FSM_SC_model.o C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_HLC_SC_model.o C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_LUT4_SC_model.o C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_OutputLUT_SC_model.o C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_counter_SC_model.o  -Wl,--start-group -lsystemc -Wl,--end-group
makefile:175: recipe for target 'post-build' failed
C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb_sim.cpp: In constructor 'Top::Top(const sc_core::sc_module_name&, sc_core::sc_trace_file*)':
C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb_sim.cpp:256:25: warning: 'Top::TILE1_in1_squareWave' will be initialized after [-Wreorder]
  256 |     squareWave          TILE1_in1_squareWave;
      |                         ^~~~~~~~~~~~~~~~~~~~
C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb_sim.cpp:294:47: warning:   base 'sc_core::sc_module' [-Wreorder]
  294 |         sc_top_clock("sc_top_clock", 10, SC_NS)
      |                                               ^
C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb_sim.cpp:263:5: warning:   when initialized here [-Wreorder]
  263 |     Top(const sc_module_name &name, sc_trace_file *_tf):
      |     ^~~
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/simulation/clb_sim.o: in function `__static_initialization_and_destruction_0':
C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src/sysc/kernel/sc_ver.h:182: undefined reference to `sc_core::sc_api_version_2_3_3_cxx201402L<&sc_core::SC_DISABLE_VIRTUAL_BIND_UNDEFINED_>::sc_api_version_2_3_3_cxx201402L(sc_core::sc_writer_policy)'
collect2.exe: error: ld returned 1 exit status
gmake[2]: [post-build] Error 1 (ignored)
process_begin: CreateProcess(NULL, ./simulation/simulation_output.exe, ...) failed.
 
gmake[2]: [post-build] Error 2 (ignored)
./simulation/simulation_output.exe
makefile:175: recipe for target 'post-build' failed
C:/ti/ccs930/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js"  "C:/ti/c2000/C2000Ware_2_01_00_00/utilities/clb_tool/clb_syscfg" "C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg" "C:/CCSworkspace/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb.dot"
CLB block diagram HTML was created!
CLB block diagram SVG was created!
 

**** Build Finished ****

  • Hi,

    I was able to reproduce this issue as well. Initially I thought it could be a CCS or one of our supplied third party tools, but I see from the document SPRUIR8.pdf this is related to the specific distribution of the GCC compiler for X86_64. 

    The version pointed to by the document did not install in my PC - it threw an error and asked me to download a newer version. If that happened to you as well, I wonder if the difference in versions may be causing this problem. 

    In this case, I will notify the C2000 developers, as they created this example code. 

    Regards,

    Rafael 

  • What version of the TDM compiler is used?

  • I just tested this with : TDM-GCC-64

    CCS10

    C2000Ware 3.01.00.00

    Here is my build log:

    **** Build of configuration Debug for project clb_ex8_external_signal_AND_gate ****
    
    "C:\\ti\\ccs1000_web\\ccs\\utils\\bin\\gmake" -k -j 12 all -O 
     
    Building file: "../clb_ex8_external_signal_AND_gate.syscfg"
    Invoking: SysConfig
    "C:/ti/ccs1000_web/ccs/utils/sysconfig_1.4.0/sysconfig_cli.bat" -d "F28002x" -s "C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/.metadata/product.json" -o "syscfg" "../clb_ex8_external_signal_AND_gate.syscfg"
    Running script...
    Validating...
    Generating Code...
    Writing C:\Users\a0225962\workspace_v10_test\clb_ex8_external_signal_AND_gate\Debug\syscfg\clb_config.h...
    Writing C:\Users\a0225962\workspace_v10_test\clb_ex8_external_signal_AND_gate\Debug\syscfg\clb_config.c...
    Writing C:\Users\a0225962\workspace_v10_test\clb_ex8_external_signal_AND_gate\Debug\syscfg\clb.dot...
    Writing C:\Users\a0225962\workspace_v10_test\clb_ex8_external_signal_AND_gate\Debug\syscfg\clb_sim.cpp...
    Finished building: "../clb_ex8_external_signal_AND_gate.syscfg"
     
    Building file: "syscfg/clb_sim.cpp"
    Invoking: C2000 Compiler
    "C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate" --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/device_support/f28002x/common/include" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --define=RAM --define=DEBUG -g --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/clb_sim.d_raw" --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg" --obj_directory="syscfg"  "syscfg/clb_sim.cpp"
    Finished building: "syscfg/clb_sim.cpp"
     
    Building file: "../device/f28002x_codestartbranch.asm"
    Invoking: C2000 Compiler
    "C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate" --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/device_support/f28002x/common/include" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --define=RAM --define=DEBUG -g --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/f28002x_codestartbranch.d_raw" --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg" --obj_directory="device"  "../device/f28002x_codestartbranch.asm"
    Finished building: "../device/f28002x_codestartbranch.asm"
     
    Building file: "../clb_ex8_external_signal_AND_gate.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate" --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/device_support/f28002x/common/include" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --define=RAM --define=DEBUG -g --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="clb_ex8_external_signal_AND_gate.d_raw" --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg"  "../clb_ex8_external_signal_AND_gate.c"
    Finished building: "../clb_ex8_external_signal_AND_gate.c"
     
    Building file: "syscfg/clb_config.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate" --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/device_support/f28002x/common/include" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --define=RAM --define=DEBUG -g --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/clb_config.d_raw" --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg" --obj_directory="syscfg"  "syscfg/clb_config.c"
    Finished building: "syscfg/clb_config.c"
     
    Building file: "../device/device.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --opt_for_speed=2 --fp_mode=strict --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate" --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/driverlib/f28002x/driverlib" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/device_support/f28002x/common/include" --include_path="C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --define=RAM --define=DEBUG -g --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg" --obj_directory="device"  "../device/device.c"
    Finished building: "../device/device.c"
     
    Building target: "clb_ex8_external_signal_AND_gate.out"
    Invoking: C2000 Linker
    "C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --opt_for_speed=2 --fp_mode=strict --define=RAM --define=DEBUG -g --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"clb_ex8_external_signal_AND_gate.map" --heap_size=0x100 --stack_size=0x200 --warn_sections -i"C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/lib" -i"C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/driverlib/f28002x/driverlib/ccs/Debug" -i"C:/ti/ccs1000_web/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="clb_ex8_external_signal_AND_gate_linkInfo.xml" --entry_point=code_start --rom_model -o "clb_ex8_external_signal_AND_gate.out" "./clb_ex8_external_signal_AND_gate.obj" "./syscfg/clb_config.obj" "./syscfg/clb_sim.obj" "./device/device.obj" "./device/f28002x_codestartbranch.obj" "../28002x_generic_ram_lnk.cmd" "C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/driverlib/f28002x/driverlib/ccs/Debug/driverlib.lib"  -ldriverlib.lib -llibc.a 
    <Linking>
    Finished building target: "clb_ex8_external_signal_AND_gate.out"
     
    mkdir "C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/simulation"
    C:/TDM-GCC-64/bin/g++  -c -DCLB_SIM -IC:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -IC:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include -IC:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate -IC:/TDM-GCC-64/bin/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MFC:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/simulation/clb_sim.d -MTC:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/simulation/clb_sim.o -IC:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg   -fno-threadsafe-statics  -oC:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/simulation/clb_sim.o C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb_sim.cpp
    C:/TDM-GCC-64/bin/g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/simulation/simulation_output.map -LC:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -oC:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/simulation/simulation_output.exe C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/simulation/clb_sim.o C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_FSM_SC_model.o C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_HLC_SC_model.o C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_LUT4_SC_model.o C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_OutputLUT_SC_model.o C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_counter_SC_model.o  -Wl,--start-group -lsystemc -Wl,--end-group
    ./simulation/simulation_output.exe
     
    Info: (I703) tracing timescale unit set: 1 ns (CLB.vcd)
    C:/ti/ccs1000_web/ccs/tools/node/node.exe "C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js"  "C:/ti/c2000/latestc2k/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg" "C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg" "C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb.dot"
    CLB block diagram SVG was created!
    CLB block diagram HTML was created!
     
    C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb_sim.cpp: In constructor 'Top::Top(const sc_core::sc_module_name&, sc_core::sc_trace_file*)':
    C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb_sim.cpp:256:25: warning: 'Top::TILE1_in1_squareWave' will be initialized after [-Wreorder]
         squareWave          TILE1_in1_squareWave;
                             ^
    C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb_sim.cpp:294:47: warning:   base 'sc_core::sc_module' [-Wreorder]
             sc_top_clock("sc_top_clock", 10, SC_NS)
                                                   ^
    C:/Users/a0225962/workspace_v10_test/clb_ex8_external_signal_AND_gate/Debug/syscfg/clb_sim.cpp:263:5: warning:   when initialized here [-Wreorder]
         Top(const sc_module_name &name, sc_trace_file *_tf):
         ^
     
            SystemC 2.3.3-Accellera --- Dec  5 2018 09:15:32
            Copyright (c) 1996-2018 by all Contributors,
            ALL RIGHTS RESERVED
    
    **** Build Finished ****
    

  • i changed TDM GCC with an older version. it's OK now. Tks.

  • Can you let me know, how did you do that? Where did you get it?

  • I updated to CCS 10, but still following error. 

    So what is wrong?


    **** Build of configuration Debug for project clb_empty ****

    "C:\\ti\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 12 all -O

    Building file: "../empty.syscfg"
    Invoking: SysConfig
    "C:/ti/ccs1000/ccs/utils/sysconfig_1.4.0/sysconfig_cli.bat" -d "F2837xD" -s "C:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/.metadata/product.json" -o "syscfg" "../empty.syscfg"
    Running script...
    Validating...
    Generating Code...
    Writing D:\__rep\clb_empty\Debug\syscfg\clb_config.h...
    Writing D:\__rep\clb_empty\Debug\syscfg\clb_config.c...
    Writing D:\__rep\clb_empty\Debug\syscfg\clb.dot...
    Writing D:\__rep\clb_empty\Debug\syscfg\clb_sim.cpp...
    Finished building: "../empty.syscfg"

    Building file: "../empty.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.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:/__rep/clb_empty" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/device_support/F2837xD/common/include" --include_path="D:/__rep/clb_empty/device" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="empty.d_raw" --include_path="D:/__rep/clb_empty/Debug/syscfg" "../empty.c"
    Finished building: "../empty.c"

    Building file: "syscfg/clb_config.c"
    Invoking: C2000 Compiler
    "C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.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:/__rep/clb_empty" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/device_support/F2837xD/common/include" --include_path="D:/__rep/clb_empty/device" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --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:/__rep/clb_empty/Debug/syscfg" --obj_directory="syscfg" "syscfg/clb_config.c"
    Finished building: "syscfg/clb_config.c"

    Building file: "syscfg/clb_sim.cpp"
    Invoking: C2000 Compiler
    "C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.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:/__rep/clb_empty" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/device_support/F2837xD/common/include" --include_path="D:/__rep/clb_empty/device" --include_path="C:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --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:/__rep/clb_empty/Debug/syscfg" --obj_directory="syscfg" "syscfg/clb_sim.cpp"
    Finished building: "syscfg/clb_sim.cpp"

    Building target: "clb_empty.out"
    Invoking: C2000 Linker
    "C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.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=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"clb_empty.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_3_01_00_00/driverlib/f2837xd/driverlib/ccs/Debug" -i"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="clb_empty_linkInfo.xml" --rom_model -o "clb_empty.out" "./empty.obj" "./syscfg/clb_config.obj" "./syscfg/clb_sim.obj" "./device/F2837xD_CodeStartBranch.obj" "./device/device.obj" "../2837xD_RAM_lnk_cpu1.cmd" -ldriverlib.lib -llibc.a
    <Linking>
    Finished building target: "clb_empty.out"

    mkdir "D:/__rep/clb_empty/Debug/simulation"
    makefile:175: recipe for target 'post-build' failed
    Ein Unterverzeichnis oder eine Datei mit dem Namen "D:/__rep/clb_empty/Debug/simulation" existiert bereits.
    gmake[2]: [post-build] Error 1 (ignored)
    C:/TDM-GCC-64/bin/g++ -c -DCLB_SIM -IC:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -IC:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include -ID:/__rep/clb_empty -IC:/TDM-GCC-64/bin/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MFD:/__rep/clb_empty/Debug/simulation/clb_sim.d -MTD:/__rep/clb_empty/Debug/simulation/clb_sim.o -ID:/__rep/clb_empty/Debug/syscfg -fno-threadsafe-statics -oD:/__rep/clb_empty/Debug/simulation/clb_sim.o D:/__rep/clb_empty/Debug/syscfg/clb_sim.cpp
    C:/TDM-GCC-64/bin/g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,D:/__rep/clb_empty/Debug/simulation/simulation_output.map -LC:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -oD:/__rep/clb_empty/Debug/simulation/simulation_output.exe D:/__rep/clb_empty/Debug/simulation/clb_sim.o C:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_FSM_SC_model.o C:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_HLC_SC_model.o C:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_LUT4_SC_model.o C:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_OutputLUT_SC_model.o C:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/CLB_counter_SC_model.o -Wl,--start-group -lsystemc -Wl,--end-group
    makefile:175: recipe for target 'post-build' failed
    D:/__rep/clb_empty/Debug/syscfg/clb_sim.cpp: In constructor 'Top::Top(const sc_core::sc_module_name&, sc_core::sc_trace_file*)':
    D:/__rep/clb_empty/Debug/syscfg/clb_sim.cpp:255:25: warning: 'Top::TILE1_in0_squareWave' will be initialized after [-Wreorder]
    255 | squareWave TILE1_in0_squareWave;
    | ^~~~~~~~~~~~~~~~~~~~
    D:/__rep/clb_empty/Debug/syscfg/clb_sim.cpp:292:47: warning: base 'sc_core::sc_module' [-Wreorder]
    292 | sc_top_clock("sc_top_clock", 20, SC_NS)
    | ^
    D:/__rep/clb_empty/Debug/syscfg/clb_sim.cpp:262:5: warning: when initialized here [-Wreorder]
    262 | Top(const sc_module_name &name, sc_trace_file *_tf):
    | ^~~
    C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/__rep/clb_empty/Debug/simulation/clb_sim.o: in function `__static_initialization_and_destruction_0':
    C:/ti/c2000/C2000Ware_3_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src/sysc/kernel/sc_ver.h:182: undefined reference to `sc_core::sc_api_version_2_3_3_cxx201402L<&sc_core::SC_DISABLE_VIRTUAL_BIND_UNDEFINED_>::sc_api_version_2_3_3_cxx201402L(sc_core::sc_writer_policy)'
    collect2.exe: error: ld returned 1 exit status
    gmake[2]: [post-build] Error 1 (ignored)
    ./simulation/simulation_output.exe
    makefile:175: recipe for target 'post-build' failed
    process_begin: CreateProcess(NULL, ./simulation/simulation_output.exe, ...) failed.
    make (e=2): Das System kann die angegebene Datei nicht finden.

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

  • It MUST be your TDM compiler version.

    Something must have changed in the new version.

  • Which version are you using?
    How do I downgrade TDM compiler?

    Currently I am at TDM Compiler version 9.2.0. 

  • Ok. It was a long way. But now I figured it out. 

    For everyone else, who may have this problem: 

    Donload previous version of tdm compiler from here (this is the offline installer from version 5.1, not the online one like linked in the spruir8): 

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

    Make sure to uncheck the follwoing check box: 

    Then everything works well. 

  • Thank you for this. I have updated the user's guide to show the findings above.

    Nima

  • Hi Stefan,

    I also facing the same problem for reference 

    But problem was not resolved with older version also.

    I downloaded older version tdm64-gcc-5.1.0(not tdm64-gcc-5.1.0-2).

    Kindly share the which version u downloaded.If possible provide path.

    I checked with the below attached TDM files but still problem is coming.

    Regards,

    Rakesh D

  • The CLB users guide is updated with the specific version of the TDM compiler needed.