@shakti-iitm/arty-boards v1.0.2
SiFive Core Complex IP Arty boards specific files
This project provides support for the SiFive synthesised E31/E51 devices running on the Arty development board.
Developer info
This section is intended to developers who plan to include this library in their own projects.
Prerequisites
A recent xpm
, which is a portable Node.js command line application.
Compiling the source code requires a modern C++ compiler, preferably GCC 5 or higher.
Easy install
This package is available as @sifive/arty-boards
from the npmjs.com
registry; with xpm
available, installing the latest version of the package is quite easy:
$ xpm install @sifive/arty-boards
This package is also available from GitHub:
$ git clone https://github.com/micro-os-plus/sifive-arty-boards-xpack.git sifive-arty-boards-xpack.git
How to use
The standard way to include the board files is
#include <micro-os-plus/board.h>
Macros
SIFIVE_E31ARTY_BOARD
SIFIVE_E51ARTY_BOARD
E31/E51 Core Complex FPGA Eval Kit Clock and Reset
The E31/E51 Core Complex FPGA Eval Kit has a 100MHz input to the FPGA. This is used to derive the Core Complex’s io_coreClock
at 65 MHz, and the clock (peripheral clock) at 32.5 MHz. The io_rtcToggle
is driven at approximately 32kHz.
The system reset driven by the Reset Button on the evaluation board is combined with the external debugger’s SRST_n
pin as a full system reset for the E31/E51 Core Complex FPGA Eval KitT ̇his is combined with the io_ndreset
to drive the reset input to the Core Complex.
The reset vector is set with Switch 0. Leave the switch in the “Off” position to execute from SPI Flash.
Global interrupts
- UART TX/RX 1
- SWITCH 0 2
- SWITCH 1 3
- SWITCH 2 4
- SWITCH 3 5
- Quad SPI 6
- GPIO0 LED 0 RED 7
- GPIO1 LED 0 GREEN 8
- GPIO2 LED 0 BLUE 9
- GPIO3 SWITCH 3 10
- GPIO4 BUTTON 0 11
- GPIO5 BUTTON 1 12
- GPIO6 BUTTON 2 13
- GPIO7 BUTTON 3 14
- GPIO8 PMOD A0 15
- GPIO9 PMOD A1 16
- GPIO10 PMOD A2 17
- GPIO11 PMOD A3 18
- GPIO12 PMOD A4 19
- GPIO13 PMOD A5 20
- GPIO14 PMOD A6 21
- GPIO15 PMOD A7 22
- PWM CMP0 23
- PWM CMP1 LED 1 RED 24
- PWM CMP2 LED 1 GREEN 25
- PWM CMP3 LED 1 BLUE 26
Maintainer info
How to publish
- commit all changes
- update
CHANGELOG.md
; commit with a message like CHANGELOG: prepare v0.1.2 npm version patch
- push all changes to GitHub
npm publish
License
The original content is released under the MIT License, with all rights reserved to Liviu Ionescu.