Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
Hi,
I'm trying to simulate examples from the C2000ware library (clb_ex17_one_shot_pwm, and clb_ex1_combinatorial_logic).
The build is finished, but the VCD file is missing.
there log indicates that the post-build has failed: makefile:175: recipe for target 'post-build' failed
the complete log:
**** Build of configuration Debug for project clb_ex17_one_shot_pwm ****
"C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "../clb_ex17_one_shot_pwm.syscfg"
Invoking: SysConfig
"C:/ti/ccs1120/ccs/utils/sysconfig_1.12.0/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/.metadata/product.json" -d "F2837xD" --script "M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/clb_ex17_one_shot_pwm.syscfg" -o "syscfg" --compiler ccs
Running script...
Validating...
Generating Code (clb_ex17_one_shot_pwm.syscfg)...
Writing M:\Users\OrenZ\Heric_inverter_D1909\digital\CSS_workspace\clb_ex17_one_shot_pwm\Debug\syscfg\clb_config.h...
Writing M:\Users\OrenZ\Heric_inverter_D1909\digital\CSS_workspace\clb_ex17_one_shot_pwm\Debug\syscfg\clb_config.c...
Writing M:\Users\OrenZ\Heric_inverter_D1909\digital\CSS_workspace\clb_ex17_one_shot_pwm\Debug\syscfg\clb.dot...
Writing M:\Users\OrenZ\Heric_inverter_D1909\digital\CSS_workspace\clb_ex17_one_shot_pwm\Debug\syscfg\clb_sim.cpp...
Finished building: "../clb_ex17_one_shot_pwm.syscfg"
Building file: "../device/F2837xD_CodeStartBranch.asm"
Invoking: C2000 Compiler
"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.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="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/device_support/F2837xD/common/include" --include_path="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/device" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.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="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg" --obj_directory="device" "../device/F2837xD_CodeStartBranch.asm"
Finished building: "../device/F2837xD_CodeStartBranch.asm"
Building file: "syscfg/clb_sim.cpp"
Invoking: C2000 Compiler
"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.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="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/device_support/F2837xD/common/include" --include_path="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/device" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.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="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg" --obj_directory="syscfg" "syscfg/clb_sim.cpp"
Finished building: "syscfg/clb_sim.cpp"
Building file: "syscfg/clb_config.c"
Invoking: C2000 Compiler
"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.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="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/device_support/F2837xD/common/include" --include_path="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/device" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.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="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg" --obj_directory="syscfg" "syscfg/clb_config.c"
Finished building: "syscfg/clb_config.c"
Building file: "../clb_ex17_one_shot_pwm.c"
Invoking: C2000 Compiler
"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.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="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/device_support/F2837xD/common/include" --include_path="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/device" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=CPU1 -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="clb_ex17_one_shot_pwm.d_raw" --include_path="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg" "../clb_ex17_one_shot_pwm.c"
Finished building: "../clb_ex17_one_shot_pwm.c"
Building file: "../device/device.c"
Invoking: C2000 Compiler
"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.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="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/driverlib/f2837xd/driverlib" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/device_support/F2837xD/common/include" --include_path="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/device" --include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.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="M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg" --obj_directory="device" "../device/device.c"
Finished building: "../device/device.c"
Building target: "clb_ex17_one_shot_pwm.out"
Invoking: C2000 Linker
"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.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_ex17_one_shot_pwm.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/driverlib/f2837xd/driverlib/ccs/Debug" -i"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="clb_ex17_one_shot_pwm_linkInfo.xml" --rom_model -o "clb_ex17_one_shot_pwm.out" "./clb_ex17_one_shot_pwm.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_ex17_one_shot_pwm.out"
mkdir "M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/simulation"
C:/TDM-GCC-64/bin/g++ -c -DCLB_SIM -IC:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -IC:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include -IM:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm -IC:/TDM-GCC-64/bin/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MFM:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/simulation/clb_sim.d -MTM:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/simulation/clb_sim.o -IM:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg -fno-threadsafe-statics -oM:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/simulation/clb_sim.o M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg/clb_sim.cpp
C:/TDM-GCC-64/bin/g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/simulation/simulation_output.map -LC:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -oM:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/simulation/simulation_output.exe M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/simulation/clb_sim.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_FSM_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_HLC_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_LUT4_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_OutputLUT_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/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
M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg/clb_sim.cpp: In constructor 'Top::Top(const sc_core::sc_module_name&, sc_core::sc_trace_file*)':
M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg/clb_sim.cpp:330:25: warning: 'Top::TILE1_in0_squareWave' will be initialized after [-Wreorder]
330 | squareWave TILE1_in0_squareWave;
| ^~~~~~~~~~~~~~~~~~~~
M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg/clb_sim.cpp:367:47: warning: base 'sc_core::sc_module' [-Wreorder]
367 | sc_top_clock("sc_top_clock", 10, SC_NS)
| ^
M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg/clb_sim.cpp:337:5: warning: when initialized here [-Wreorder]
337 | Top(const sc_module_name &name, sc_trace_file *_tf):
| ^~~
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_HLC_SC_model.o: bad string table size 1949171713
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: error: C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/CLB_HLC_SC_model.o: file too short
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/ccs1120/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js" "C:/ti/c2000/C2000Ware_DigitalPower_SDK_4_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg" "M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg" "M:/Users/OrenZ/Heric_inverter_D1909/digital/CSS_workspace/clb_ex17_one_shot_pwm/Debug/syscfg/clb.dot"
CLB block diagram HTML was created!
CLB block diagram SVG was created!
**** Build Finished ****