BCM2835 UART

BCM2835 UART

This is a PL011 SystemC module using GreenReg.

Forked from Models

9d331f50 Updated Testbench · by DELBERGUE Guillaume

BCM2835 - UART

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.