CLB Tool Outline
The CLB is a hardware module integrated into certain C2000™ devices. The CLB contains a set of configurable blocks and inter-connections which allows users to create their own custom digital logic along the lines of what could be done with a FPGA. For example, the CLB might be configured to enhance the functionality of existing device peripherals, or to create new peripheral functions. The CLB is configured using a software utility, referred to here as the “CLB tool”.
The CLB tool allows the user to configure and connect sub-modules in each CLB tile.
The tool makes use of the “SysConfig” graphical user interface (GUI) which is part of Code Composer Studio™ (CCS). The tool includes a small number of examples intended to help the user explore the features of the tool and to create their own projects.
The tool generates a C header file containing a set of constants corresponding to the configuration settings defined by the user in the GUI. The tool also generates a C source file which uses the constants in the C header file to initialize the CLB modules by loading the constants into the CLB registers by a sequence of register load operations. The functions in the C source file must be called during the device initialization. The tool does not configure the input and output connections between the CLB tile and other device peripherals, including the cross-bars and other CLB tiles. The configuration of these registers must be done separately and is the responsibility of the user.