docs/install: reduce repetition.

This commit is contained in:
whitequark 2020-07-01 04:11:51 +00:00
parent 7d25bd50c7
commit 78c027fb36

View file

@ -26,6 +26,8 @@ Synthesizing, placing and routing an nMigen design for an FPGA requires the FPGA
Installing prerequisites Installing prerequisites
======================== ========================
.. |builtin-yosys-architectures| replace:: x86_64 and AArch64
.. content-tabs:: .. content-tabs::
.. tab-container:: windows .. tab-container:: windows
@ -59,7 +61,7 @@ Installing prerequisites
$ sudo apt-get install python3-pip gtkwave $ sudo apt-get install python3-pip gtkwave
On architectures other than x86_64 and AArch64, install Yosys by running: On architectures other than |builtin-yosys-architectures|, install Yosys by running:
.. code-block:: console .. code-block:: console
@ -71,7 +73,7 @@ Installing prerequisites
Install Python and GTKWave from the package repository of your distribution. Install Python and GTKWave from the package repository of your distribution.
On architectures other than x86_64 and AArch64, install Yosys from the package repository of your distribution. On architectures other than |builtin-yosys-architectures|, install Yosys from the package repository of your distribution.
If Yosys 0.9 (or newer) is not available, `build Yosys from source`_. If Yosys 0.9 (or newer) is not available, `build Yosys from source`_.