Skip to content

ricardobonna/forsydeSADF-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forsyde-sadf-examples

RISC processor and MPEG-4 decoder examples using ForSyDe-SADF.

Note

This is a temporary repository for the case study for the paper

R. Bonna, D. S. Loubach, G. Ungureanu and I. Sander. Modeling and Simulation of Dynamic Applications using Scenario-Aware Dataflow

In the future these examples will be migrated and integrated to forsyde-shallow-examples.

Installation

This project needs the Haskell platform and the package manager Stack.

Note: install stack according to the instructions on the web page, i.e.

curl -sSL https://get.haskellstack.org/ | sh

or

wget -qO- https://get.haskellstack.org/ | sh

Update Stack, so that it reflects a current snapshot of the package repositories.

stack upgrade
stack update

Now you only need to install this project:

cd path/to/forsydeSADF-examples
stack install

and wait until everything is properly installed.

Usage

The source files can be found in the src/ directory. To load them into a Haskell interpreter session where you can execute all the declared functions individually, type in

stack ghci

To run the provided test suites defined in in test/ with example input values, type in

stack build :risc-example         # executes the RISC example in the paper
stack build :mpeg-example         # executes the MPEG4 example with test input
stack test                        # runs both previous examples

About

RISC processor and MPEG-4 decoder examples using ForSyDe-SADF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published