C-Callable Libraries

This section describes how to create a C-callable library for IP blocks written in a hardware description language like VHDL or Verilog. User applications can statically link with such libraries using the SDSoC system compilers, and the IP blocks will be instantiated into the generated hardware system. A C-callable library can also provide sdscc-compiled applications access to IP blocks within a platform (see Creating a Library).

Figure: Create and Use a C-Callable Library



The following is the list of elements that are part of an SDSoC platform software callable library:

  • Header File
    • Function prototype
  • Static Library
    • Function definition
    • IP core
    • IP configuration parameters
    • Function argument mapping