Name Last Update
cmake Loading commit data...
include/PL011 Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
ChangeLog Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...

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.