5.2.4. Adding header files and libraries for Windows export

This section describes additional header files and libraries that are required for the SystemC export on Windows. This is splitted into headers and libraries that are required at build time and those that are required for packaging.

Headers and Libraries to build the EVS on Windows

The exported component requires specific header files and libraries:

  • the header file $MAXCORE_HOME/include/sc_sg_wrapper_base.h

  • all header files mentioned in all include sections of the protocols of the ports of the top level component, for example amba_pv.h

  • SystemC header files from $SYSTEMC_HOME/include

  • OSCI TLM header files from $TLM_HOME/include/tlm

  • AMBA-PV header files, if AMBAPV ports are used, from $MAXCORE_HOME/AMBA-PV/include

  • EVS Export Library $MAXCORE_HOME/lib/Release_2005/libsc_sg_export.lib for release builds using Microsoft VC2005

  • EVS Export Library $MAXCORE_HOME/lib/Debug_2005/libsg_export.lib for debug builds using Microsoft VC2005

  • EVS Export Library $MAXCORE_HOME/lib/Release_2008/libsc_sg_export.lib for release builds using Microsoft VC2008

  • EVS Export Library $MAXCORE_HOME/lib/Debug_2008/libsg_export.lib for debug builds using Microsoft VC2008

  • SystemC library from $SYSTEMC_HOME/lib/Release_2005/SystemC.lib for release builds using Microsoft VC2005

  • SystemC library from $SYSTEMC_HOME/lib/Win32_VC2005/Debug/SystemC.lib for debug builds using Microsoft VC2005

  • SystemC library from $SYSTEMC_HOME/lib/Win32_VC2008/Release/SystemC.lib for release builds using Microsoft VC2008

  • SystemC library from $SYSTEMC_HOME/lib/Win32_VC2008/Debug/SystemC.lib for debug builds using Microsoft VC2008

Libraries to package the EVS on Windows

See Packaging the model for use on Windows for more details on how to package the EVS on Windows.

Note

The /vmg option must be used in the project settings to correctly compile source code for use with SystemC.

The SYSTEMC_HOME and TLM_HOME environment variables are set when the Third Party IP package (TPIP) is installed. This package is available as a seperate download from the same location where the Fast Models package is taken from.This package also contains the SystemC and TLM header files and libraries.

Depending on the example, additional libraries might be necessary. For example, the Linux example requires the SDL library. Such libraries are searched in the following locations:

  1. same directory where the EVS is built.

  2. searching the PATH environment variable which includes attempting the directory containing the executable as per windows default searching behavior.

Copyright © 2007-2010 ARM Limited. All rights reserved.ARM DUI 0370K
Non-ConfidentialID110210