diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-02 20:30:14 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-02 20:30:14 +0200 |
commit | 80ac62c1a5df646b8b3e4bce6f92295c5f38e8e2 (patch) | |
tree | 4a23f15bc87e08edcc1016b32babd1f3e90d69f9 /docs/markdown | |
parent | 2601cbe8a8c9b73896d80d2f6382dbb206b2f6c3 (diff) | |
download | meson-80ac62c1a5df646b8b3e4bce6f92295c5f38e8e2.zip meson-80ac62c1a5df646b8b3e4bce6f92295c5f38e8e2.tar.gz meson-80ac62c1a5df646b8b3e4bce6f92295c5f38e8e2.tar.bz2 |
Added documentation to IceStorm module.
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Icestorm-module.md | 27 | ||||
-rw-r--r-- | docs/markdown/snippets/fpga.md | 12 |
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. |