PL011

PL011

This is a PL011 SystemC module using GreenReg.

PL011

This is a PL011 SystemC module using GreenReg.

How to include this model in a project:

  • Copy the misc/FindPL011.cmake in your project repository.
  • Add the following lines into your CMakeLists.txt:

    FIND_PACKAGE(PL011)
    if(PL011_FOUND)
      INCLUDE_DIRECTORIES(${PL011_INCLUDE_DIRS})
      LINK_DIRECTORIES(${PL011_LIBRARY_DIRS})
    else()
      MESSAGE(FATAL_ERROR "PL011 not found.")
    endif()
    
  • Do the same for GreenLib as this module requires GreenLib.

You're now able to use PL011 headers and link the toplevel with PL011_LIBRARIES.