aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-02-02 23:54:12 +0200
committerGitHub <noreply@github.com>2018-02-02 23:54:12 +0200
commitf25070ec089719a607c545c1b44a678c6bbce5c9 (patch)
tree2e315c60d653ffc11a7cd310181a662c465d591b /docs/markdown
parentd59d371d77ced777395fc89dc52410fa17070990 (diff)
parent80ac62c1a5df646b8b3e4bce6f92295c5f38e8e2 (diff)
downloadmeson-f25070ec089719a607c545c1b44a678c6bbce5c9.zip
meson-f25070ec089719a607c545c1b44a678c6bbce5c9.tar.gz
meson-f25070ec089719a607c545c1b44a678c6bbce5c9.tar.bz2
Merge pull request #2228 from mesonbuild/icestorm
IceStorm FPGA experiment
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Icestorm-module.md27
-rw-r--r--docs/markdown/snippets/fpga.md12
2 files changed, 39 insertions, 0 deletions
diff --git a/docs/markdown/Icestorm-module.md b/docs/markdown/Icestorm-module.md
new file mode 100644
index 0000000..896311f
--- /dev/null
+++ b/docs/markdown/Icestorm-module.md
@@ -0,0 +1,27 @@
+# Unstable SIMD module
+
+This module provides is available since version 0.45.0.
+
+**Note**: this module is unstable. It is only provided as a technology
+preview. Its API may change in arbitrary ways between releases or it
+might be removed from Meson altogether.
+
+## Usage
+
+This module provides an experimental to create FPGA bitstreams using
+the [IceStorm](http://www.clifford.at/icestorm/) suite of tools.
+
+The module exposes only one method called `project` and it is used
+like this:
+
+ is.project('projname',
+ <verilog files>,
+ constraint_file : <pcf file>,
+ )
+
+The input to this function is the set of Verilog files and a
+constraint file. This produces output files called `projname.asc`,
+`projname.blif` and `projname.bin`. In addition it creates two run
+targets called `projname-time` for running timing analysis and
+`projname-upload` that uploads the generated bitstream to an FPGA
+devide using the `iceprog` programming executable.
diff --git a/docs/markdown/snippets/fpga.md b/docs/markdown/snippets/fpga.md
new file mode 100644
index 0000000..b5e4938
--- /dev/null
+++ b/docs/markdown/snippets/fpga.md
@@ -0,0 +1,12 @@
+## Experimental FPGA support
+
+This version adds support for generating, analysing and uploading FPGA
+programs using the [IceStorm
+toolchain](http://www.clifford.at/icestorm/). This support is
+experimental and is currently limited to the `iCE 40` series of FPGA
+chips.
+
+FPGA generation integrates with other parts of Meson seamlessly. As an
+example, [here](https://github.com/jpakkane/lm32) is an example
+project that compiles a simple firmware into Verilog and combines that
+with an lm32 softcore processor.