bnx-cal 0.1.0

Bnx Core Abstraction Layer
Documentation
  • Coverage
  • 100%
    3 out of 3 items documented1 out of 1 items with examples
  • Size
  • Source code size: 4.12 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.06 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • hubbsvtgc

Bnx Core Abstraction Layer

Core Abstraction library abstracts a core. It provides interfaces to HAL layer above such that HAL layer above is void of any core and system specific information and core and system agnostic. However RISC-V standard specific core details that are common acrosss all RISC-V cores are part of Common Core Abstraction Layer. System Abstraction Layer abstracts a system and Core Abstraction Layer abstracts a core.

Example

E31 - a core and its abstracted in Core Abstraction Layer. FE310 - a system with E31 core and peripherals is abstracted in System Abstraction Layer. SAL dont cover that are abstracted in CAL instead might use them. In software architecture, CAL & SAL are beside each other as below.

---------------- Hardware Abstraction Layer --------------------------
----------------------------------------------------------------------
| System Abstraction Layer |  Core Abstraction Layer
----------------------------------------------------------------------

CAL abstracts:

Core Clock Core Boot

whereas SAL abstracts:

Gpio Uart Spi I2c