Spatial is an Argon DSL for programming reconfigurable hardware from a parameterized, high level abstraction.
- Scala SBT
- Java JDK
- Integer Set Library (apt-get install libisl-dev)
We recommend using spatial-quickstart rather than this repo, if you only intend to develop applications without modifying the compiler.
If you prefer to install Spatial from source using this repo, follow these instructions. The Spatial website has more information and tutorials.
$ git clone https://github.com/stanford-ppl/spatial.git
$ cd spatial
$ make install
To run an app:
$ bin/spatial <app name> <options>
$ cd gen/<app name>
$ make
$ bash run.sh <input args>