Simple runtime for Pulp platforms
Find a file
2019-12-19 14:40:05 +01:00
bin Added runner 2019-12-17 22:14:17 +01:00
configs Added runner 2019-12-17 22:14:17 +01:00
drivers Initial commit 2019-12-15 14:12:22 +01:00
include Added runner 2019-12-17 22:14:17 +01:00
install/rules Added symbolic link for pulp_rt.mk 2019-12-19 14:40:05 +01:00
kernel Added runner 2019-12-17 22:14:17 +01:00
lib/libc/minimal Initial commit 2019-12-15 14:12:22 +01:00
rules Added possibility to give env var for toolchain 2019-12-19 14:38:15 +01:00
README.md Added runner 2019-12-17 22:14:17 +01:00

PULP runtime

About

This module is a simple runtime for the Pulp architecture.

Runtime build

You need to first install the Linux dependencies (see below).

Choose the configuration for which you want to compile the runtime, for example:

$ source configs/pulp.sh

Then you can get one of the pulp example, compile and run it.

Linux dependencies

Here are the required system dependencies for building the runtime and its dependencies.

Ubuntu 16.04

Starting from a fresh Ubuntu 16.04 distribution, here are the commands to be executed to get all required dependencies:

$ sudo apt install git python3-pip gawk texinfo libgmp-dev libmpfr-dev libmpc-dev
$ sudo pip3 install pyelftools

Dependencies

Build

Have a look at the dependencies documentation to see how to build them.

You can have a look here for the toolchain.

Setup

The toolchain must be built separately and the following environment variable should set:

$ export PATH=<path to the folder containing the bin folder of the toolchain>/bin:$PATH

RTL platforms should also be built separately (see the platform documentation for that) and the following environment variable must point to the folder where the platform was installed (this example is for pulpissimo):

$ export VSIM_PATH=<pulpissimo root folder>/sim