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.
Hi,
VCD file is not generated.
My environment is below.
I installed the tool according to the documentation below. And I built the clb_ex8_external_signal_AND_gate project.
https://www.ti.com/lit/SPRUIR8
Do you know what settings I'm missing?
**** Clean-only build of configuration CPU1_RAM for project clb_ex8_external_signal_AND_gate **** "C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O DEL /F "syscfg\board.h" "syscfg\pinmux.csv" "syscfg\clb_config.h" "syscfg\clb.dot" "syscfg\c2000ware_libraries.cmd.genlibs" "syscfg\c2000ware_libraries.h" "clb_ex8_external_signal_AND_gate.hex" "syscfg\board.c" "syscfg\clb_config.c" "syscfg\clb_sim.cpp" "syscfg\c2000ware_libraries.opt" "syscfg\c2000ware_libraries.c" "clb_ex8_external_signal_AND_gate.out" DEL /F "clb_ex8_external_signal_AND_gate.obj" "syscfg\board.obj" "syscfg\clb_config.obj" "syscfg\clb_sim.obj" "syscfg\c2000ware_libraries.obj" "device\device.obj" "device\f2838x_codestartbranch.obj" DEL /F "clb_ex8_external_signal_AND_gate.d" "syscfg\board.d" "syscfg\clb_config.d" "syscfg\c2000ware_libraries.d" "device\device.d" DEL /F "syscfg\clb_sim.d" DEL /F "device\f2838x_codestartbranch.d" RMDIR /S/Q "syscfg\" C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\clb_ex8_external_signal_AND_gate.hex が見つかりませんでした。 C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\device\f2838x_codestartbranch.d が見つかりませんでした。 Finished clean **** Build Finished **** **** Build of configuration CPU1_RAM for project clb_ex8_external_signal_AND_gate **** "C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 8 all -O Building file: "../clb_ex8_external_signal_AND_gate.syscfg" Invoking: SysConfig "C:/ti/ccs1120/ccs/utils/sysconfig_1.12.0/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_4_01_00_00/.metadata/sdk.json" -d "F2838x" --script "C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/clb_ex8_external_signal_AND_gate.syscfg" -o "syscfg" --package 337bga --part F2838x_337bga --compiler ccs Running script... Validating... Generating Code (clb_ex8_external_signal_AND_gate.syscfg)... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\board.c... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\board.h... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\pinmux.csv... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\clb_config.h... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\clb_config.c... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\clb.dot... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\clb_sim.cpp... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\c2000ware_libraries.cmd.genlibs... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\c2000ware_libraries.opt... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\c2000ware_libraries.c... Writing C:\Users\12416\Desktop\ccs_workspace\C2000\CLB\clb_ex8_external_signal_AND_gate\CPU1_RAM\syscfg\c2000ware_libraries.h... Finished building: "../clb_ex8_external_signal_AND_gate.syscfg" 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=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00" --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --advice:performance=all --define=GENERATE_DIAGRAM --define=CLB_DEBUG --define=RAM --define=DEBUG --define=CPU1 --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/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/clb_sim.cpp" Finished building: "syscfg/clb_sim.cpp" Building file: "../device/f2838x_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=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00" --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --advice:performance=all --define=GENERATE_DIAGRAM --define=CLB_DEBUG --define=RAM --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/f2838x_codestartbranch.d_raw" --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg" --obj_directory="device" --cmd_file="syscfg/c2000ware_libraries.opt" "../device/f2838x_codestartbranch.asm" Finished building: "../device/f2838x_codestartbranch.asm" Building file: "../clb_ex8_external_signal_AND_gate.c" Invoking: C2000 Compiler "C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00" --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --advice:performance=all --define=GENERATE_DIAGRAM --define=CLB_DEBUG --define=RAM --define=DEBUG --define=CPU1 --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/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg" --cmd_file="syscfg/c2000ware_libraries.opt" "../clb_ex8_external_signal_AND_gate.c" Finished building: "../clb_ex8_external_signal_AND_gate.c" Building file: "syscfg/c2000ware_libraries.c" Invoking: C2000 Compiler "C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00" --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --advice:performance=all --define=GENERATE_DIAGRAM --define=CLB_DEBUG --define=RAM --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/c2000ware_libraries.d_raw" --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/c2000ware_libraries.c" Finished building: "syscfg/c2000ware_libraries.c" 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=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00" --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --advice:performance=all --define=GENERATE_DIAGRAM --define=CLB_DEBUG --define=RAM --define=DEBUG --define=CPU1 --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/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/clb_config.c" Finished building: "syscfg/clb_config.c" Building file: "syscfg/board.c" Invoking: C2000 Compiler "C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00" --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --advice:performance=all --define=GENERATE_DIAGRAM --define=CLB_DEBUG --define=RAM --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/board.d_raw" --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/board.c" Finished building: "syscfg/board.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=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00" --include_path="C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/device" --include_path="C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --advice:performance=all --define=GENERATE_DIAGRAM --define=CLB_DEBUG --define=RAM --define=DEBUG --define=CPU1 --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/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg" --obj_directory="device" --cmd_file="syscfg/c2000ware_libraries.opt" "../device/device.c" Finished building: "../device/device.c" Building target: "clb_ex8_external_signal_AND_gate.out" Invoking: C2000 Linker "C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --advice:performance=all --define=GENERATE_DIAGRAM --define=CLB_DEBUG --define=RAM --define=DEBUG --define=CPU1 --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=0x200 --stack_size=0x3F8 --warn_sections -i"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_4_01_00_00" -i"C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg" -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_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/board.obj" "./syscfg/clb_config.obj" "./syscfg/clb_sim.obj" "./syscfg/c2000ware_libraries.obj" "./device/device.obj" "./device/f2838x_codestartbranch.obj" "../2838x_RAM_lnk_cpu1.cmd" "C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" -llibc.a <Linking> Finished building target: "clb_ex8_external_signal_AND_gate.out" if 0 == 1 mkdir "C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/simulation" if 0 == 1 C:/TDM-GCC-64/bin/g++ -c -DCLB_SIM -IC:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -IC:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include/type3 -IC:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate -IC:/TDM-GCC-64/bin/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MFC:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/simulation/clb_sim.d -MTC:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/simulation/clb_sim.o -IC:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg -fno-threadsafe-statics -oC:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/simulation/clb_sim.o C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg/clb_sim.cpp if 0 == 1 C:/TDM-GCC-64/bin/g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/simulation/simulation_output.map -LC:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -oC:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/simulation/simulation_output.exe C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/simulation/clb_sim.o C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_FSM_SC_model.o C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_HLC_SC_model.o C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_LUT4_SC_model.o C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_OutputLUT_SC_model.o C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_counter_SC_model.o C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_counter_top_SC_model.o C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_FSM_top_SC_model.o C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_LUT4_top_SC_model.o C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_OutputLUT_top_SC_model.o -Wl,--start-group -lsystemc -Wl,--end-group if 0 == 1 "./simulation/simulation_output.exe" if 0 == 1 C:/ti/ccs1120/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js" "C:/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/" "C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg" "C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg/clb.dot" if 0 == 1 mkdir "C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/diagrams" if 0 == 1 C:/ti/ccs1120/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/.meta/generate_diagrams.js" "C:/ti/c2000/C2000Ware_4_01_00_00" "C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/diagrams" "C:/Users/12416/Desktop/ccs_workspace/C2000/CLB/clb_ex8_external_signal_AND_gate/CPU1_RAM/syscfg" **** Build Finished ****
Best regards,
Sasaki
Hi Sasaki-san,
The GENERATE_DIAGRAM and CLB_DEBUG should be CCS variables defined to 1. This can be done within the CCS project properties build menu. I believe in your current implementation, they are set to predefined symbols which does not give them a specific value. Add the two variables and you should be able to generate the VCD.
Regards,
Peter
Hi Peter-san,
Thank you for your support.
I
I was able to generate a VCD file by adding the following settings.
Best regards,
Sasaki