SPRUIG6K January 2018 – March 2024
Regardless of your chosen host, certain prerequisites are required for every program written to be run with C7000 Host Emulation.
All source files that use C7000 compiler features with Host Emulation need to #include the
c7x.h
or
c6x_migration.h
file, as appropriate. These files in turn include all other required header files. When compiling for Host Emulation, do not #include any of the other header files provided in the C7000 Run Time Support Library.
When compiling for Host Emulation, do not #include any of the headers found in the C7000 Run Time Support library. This includes the
c7x.h
and
c6x_migration.h
files. Instead, use preprocessor symbols to control which header files are included.
File Included Explicitly | Description |
c7x.h | Main header file. Includes all others listed below except c6x_migration.h. |
c6x_migration.h | Legacy intrinsics and data types. Includes all others listed below. |
Files Included Automatically | |
c7x_cr.h | Global control register definitions |
c7x_ecr.h | Global extended register definitions |
c7x_luthist.h | Lookup table and histogram control interface |
c7x_strm.h | Streaming engine control interface |
The
ti_he_impl
folder contains other header files used for the implementation; these files should not be included directly.