diff --git a/doc/main.pdf b/doc/main.pdf index 0f62ef8..f8da13c 100644 Binary files a/doc/main.pdf and b/doc/main.pdf differ diff --git a/doc/main.tex b/doc/main.tex index 62ff38e..40b7e1c 100644 --- a/doc/main.tex +++ b/doc/main.tex @@ -29,7 +29,7 @@ Yosys and nextpnr are open-source tools for digital synthesis and place-and-rout git clone https://github.com/YosysHQ/yosys.git \end{verbatim} - \item \textbf{Install dependencies:} Make sure all necessary dependencies are installed by running: + \item \textbf{Install dependencies:} Ensure all necessary dependencies are installed by running: \begin{verbatim} sudo apt-get install build-essential clang lld bison flex \ libreadline-dev gawk tcl-dev libffi-dev git \ @@ -42,7 +42,7 @@ Yosys and nextpnr are open-source tools for digital synthesis and place-and-rout make config-clang \end{verbatim} - \item \textbf{Initialize submodules:} Make sure all Git submodules are up to date. + \item \textbf{Initialize submodules:} Ensure all Git submodules are up to date. \begin{verbatim} git submodule update --init \end{verbatim} @@ -58,6 +58,26 @@ Yosys and nextpnr are open-source tools for digital synthesis and place-and-rout \end{verbatim} \end{enumerate} +\subsection*{icestorm Installation} + +\begin{enumerate} + \item \textbf{Clone the icestorm repository:} Download the icestorm repository from GitHub. + \begin{verbatim} + git clone https://github.com/YosysHQ/icestorm + \end{verbatim} + + \item \textbf{Build icestorm:} Navigate to the icestorm directory and compile the project using all available processor cores. + \begin{verbatim} + cd icestorm/ + make -j$(nproc) + \end{verbatim} + + \item \textbf{Install icestorm:} After the build is complete, install icestorm system-wide. + \begin{verbatim} + sudo make install + \end{verbatim} +\end{enumerate} + \subsection*{nextpnr Installation} \begin{enumerate} @@ -71,13 +91,14 @@ Yosys and nextpnr are open-source tools for digital synthesis and place-and-rout git clone https://github.com/YosysHQ/nextpnr \end{verbatim} - \item \textbf{Install cmake:} Install cmake, which is required to build nextpnr. + \item \textbf{Install dependencies:} Install additional libraries needed for nextpnr. \begin{verbatim} - sudo apt install cmake + sudo apt install cmake libeigen3-dev libftdi-dev \end{verbatim} - \item \textbf{Configure nextpnr for the iCE40 architecture:} In the nextpnr directory, run cmake with the iCE40 architecture option. + \item \textbf{Configure nextpnr for the iCE40 architecture:} In the nextpnr directory, run cmake with the iCE40 architecture option. This will also integrate Icestorm. \begin{verbatim} + cd nextpnr/ cmake . -DARCH=ice40 \end{verbatim}