Digital Glue Logic

This custom logic driver offers a way to initialize on-chip programmable logic units, so that a specific logic box is built. Then this "box" can be connected to an internal or external circuit to perform the logic operations.

Summary of the API's Functional Features

The API provides functions to:
  • Initialize and deinitialize the driver and associated hardware

  • Enabling and disabling digital glue logic

Summary of Configuration Options

Most custom logic parameters are configured in START. Many of these parameters are used by the custom_logic_init function when initializing the driver and underlying hardware (for example, CCL).

Driver Implementation Description

The implementation is simple in this driver and most custom logic parameters are static configuration.

Example of Usage

The following shows a simple example of using the custom logic driver. The custom logic driver must have been initialized by custom_logic_init. This initialization will configure the operation of the hardware programmable logic instance.

          /**
           * Example of using DIGITAL_GLUE_LOGIC_0.
           */
          void DIGITAL_GLUE_LOGIC_0_example(void)
          {
              custom_logic_enable();
              /* Customer logic now works. */
          }
        

Dependencies

  • Programmable logic control units, such as Configurable Custom Logic (CCL)