Skip to content

Demo_Step0

Lotfi G edited this page Dec 22, 2016 · 9 revisions

Preparing the Demo

TODO

C source to source transformation tool

In order to compile all the needed dependencies and complementary packages for the C source to source transformation tool, the following commands should be run:

$ make configure
$ make rules FILE=rules.c
$ make all

Further information at the C source to source transformation tool's page.

The machine learning module

A script is provided for installing the required dependencies of the Machine Learning Module. Simply run from the command line:

$ ./install.sh

ClaSH

ClaSH is written in Haskell and depends on the [GHC] Haskell compiler (http://haskell.org/ghc) and requires Cabal. If these have been installed, you can install ClaSH simply by running

for i386 Linux:

cabal install clash-ghc --enable-documentation --enable-executable-dynamic

others:

cabal install clash-ghc --enable-documentation

Please refer to ClaSH Setup for a detailed instruction on how to install GHC and Cabal.

Poroto

Since Poroto is written in Python, no real installation is needed provided that the a Python distribution is available on the machine. Poroto uses some external tools that should be installed seperately. For more details, check here Poroto related installation instructions

Maxeler DFE Platform and FlexAware

The following demo steps can, among others, generate MaxJ and FlexAware code, which would have to be compiled using the Maxeler DFE Platform and FlexAware, respectively. These tools are not directly part of the demo and the links are provided here only for completeness.