This repo (stanford-ppl/spatial-lang) has been deprecated.
Please use stanford-ppl/spatial,
unless if you know what you are doing and actually intend to use the deprecated
version of the language
Spatial is an Argon DSL for programming reconfigurable hardware from a parameterized, high level abstraction.
It is recommended that you use the spatial-quickstart to get started with Spatial.
However, if you intend to build from source, then you are in the right place. Run the following (bash) commands to clone and update the spatial-lang repository:
$ git clone https://github.com/stanford-ppl/spatial-lang.git
$ cd spatial-lang
$ git submodule update --init
This will pull Spatial's submodules argon
, apps
, and scala-virtualized
.
You may need to export your JAVA_HOME environment variable to point to your Java installation (usually /usr/bin)
You are now ready to compile the language. Run the following:
$ sbt compile
A good habit would be to pull from these repositories often and run sbt compile
in your spatial-lang directory.
Last Update | Templates + SBT | Scala Backend | Chisel Backend | |
---|---|---|---|---|
Master | ||||
Pre-master | ||||
SyncMem | ||||
Retime |
Last Update | Templates + SBT | Scala Backend | Chisel Backend | |
---|---|---|---|---|
Develop | ||||
FPGA | ||||
Compile |