Name Last Update
cmake Loading commit data...
include/APB_UART 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 Loading commit data...
This is an apb uart SystemC module using GreenReg.

How to include this model in a project:

* Copy the misc/FindAPB_UART.cmake in your project repository.
* Add the following lines into your CMakeLists.txt:
    FIND_PACKAGE(APB_UART)
    if(APB_UART_FOUND)
      INCLUDE_DIRECTORIES(${APB_UART_INCLUDE_DIRS})
      LINK_DIRECTORIES(${APB_UART_LIBRARY_DIRS})
    else()
      MESSAGE(FATAL_ERROR "APB_UART not found.")
    endif()

* Do the same for GreenLib as this module requires GreenLib.

You're now able to use APB_UART headers and link the toplevel with
APB_UART_LIBRARIES.