Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon


Spatial - Programming language

< >

Spatial, aka Specify Parameterized Accelerators Through Inordinately Abstract Language, is a programming language created in 2018 by David Koeplinger.

#906on PLDB 5Years Old 317Users
13Books 0Papers

Spatial: A High Level Programming Language for FPGAs

Example from the web:
import spatial.dsl._ @spatial object HelloSpatial extends SpatialApp { def main(args: Array[String]): Void = { // Create ArgIn val x = ArgIn[Int] // Set `x` to the value of the first command line argument setArg(x, args(0).to[Int]) Accel { // Create 16x32 SRAM and a Register val s = SRAM[Int](16,32) val r = Reg[Int] // Loop over each element in SRAM Foreach(16 by 1, 32 by 1){(i,j) => s(i,j) = i + j } // Store element into the register, based on the input arg r := s(x,x) // Print value of register (only shows in Scala simulation) println(r"Value of SRAM at (${x.value},${x.value}) is ${r.value}") } } }

Language features

Feature Supported Token Example
// A comment
Line Comments //
// A comment
Semantic Indentation X

Books about Spatial from ISBNdb

title authors year publisher
Agent-Based Spatial Simulation with NetLogo Volume 1 Banos, Arnaud and Lang, Christophe and Marilleau, Nicolas 2015 ISTE Press - Elsevier
An Introduction to R for Spatial Analysis and Mapping Brunsdon, Chris and Comber, Lex 2015 SAGE Publications Ltd
Spatial Data Analysis in Ecology and Agriculture Using R Richard E. Plant 20181207 Taylor & Francis
Java Programming For Spatial Sciences Jo Wood 2002 London ; Taylor & Francis, 2002.
Spatial Sector Programming Models In Agriculture Earl O. Heady and Uma K. Srivastava 1975 Iowa State Pr
Combinatorial Programming, Spatial Analysis And Planning Allen John Scott 1971 Methuen
Spatial Auditory Human-Computer Interfaces (SpringerBriefs in Computer Science) Sodnik, Jaka and Tomažič, Sašo 2015 Springer
Open Source Approaches in Spatial Data Handling (Advances in Geographic Information Science Book 2) 2008 Springer
Qualitative Spatial Reasoning Theory And Practice: Theory And Practice--application To Robot Navigation (frontiers In Artificial Intelligence And Applications, 47) M.t. Escrig 1998 Ios Pr Inc
Spatial Information Theory: 9th International Conference, COSIT 2009, Aber Wrac'h, France, September 21-25, 2009, Proceedings (Lecture Notes in Computer Science (5756)) 2009 Springer
An Introduction to R for Spatial Analysis and Mapping Brunsdon, Chris and Comber, Lex 2015 SAGE Publications Ltd
Spatial Modeling in Forest Resources Management: Rural Livelihood and Sustainable Development (Environmental Science and Engineering) 2020 Springer
Decentralized Spatial Computing: Foundations of Geosensor Networks Duckham, Matt 2012 Springer
tiledb.html · spatial.html · roy.html

View source

- Build the next great programming language · Search · v2023 · Day 208 · Docs · Acknowledgements · Traffic · Traffic Today · Mirrors · GitHub ·