You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/src/quickstart/index.rst
+36-17Lines changed: 36 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -224,16 +224,35 @@ Manually Running the VTR Flow
224
224
-----------------------------
225
225
Let's start by making a fresh directory for us to work in:
226
226
227
+
First, define an environment variable to streamline the commands in this guide:
228
+
229
+
- ``$WRK_DIR`` will serve as our working directory for this example.
230
+
231
+
To set this variable, define it in your shell:
232
+
227
233
.. code-block:: bash
228
234
229
-
> mkdir -p ~/vtr_work/quickstart/blink_manual
230
-
>cd~/vtr_work/quickstart/blink_manual
235
+
export WRK_DIR=~/vtr_work/quickstart/blink_manual
236
+
237
+
Alternatively, manually replace ``$WRK_DIR`` in the example commands with your paths.
231
238
232
-
Next we need to run the three main sets of tools:
239
+
Now, create and navigate to the working directory:
233
240
234
-
* :ref:`Parmys` performs 'synthesis' which converts our behavioural Verilog (``.v`` file) into a circuit netlist (``.blif`` file) consisting of logic equations and FPGA architecture primitives (Flip-Flops, adders etc.),
235
-
* :ref:`ABC` performs 'logic optimization' which simplifies the circuit logic, and 'technology mapping' which converts logic equations into the Look-Up-Tables (LUTs) available on an FPGA, and
236
-
* :ref:`VPR` which performs packing, placement and routing of the circuit to implement it on the targeted FPGA architecture.
241
+
.. code-block:: bash
242
+
243
+
> mkdir -p $WRK_DIR
244
+
>cd$WRK_DIR
245
+
246
+
Next, we need to run the three main sets of tools, depending on the method of synthesis you choose:
247
+
248
+
1. **Default Synthesis with Parmys**:
249
+
* Parmys is the default synthesis tool in the VTR flow. It performs synthesis, logic optimization, and technology mapping in one step. This method eliminates the need for separate tools like Odin II.
250
+
251
+
2. **If you synthesize using Odin II** (Alternative):
252
+
* :ref:`Odin II` performs 'synthesis' which converts our behavioral Verilog (``.v`` file) into a circuit netlist (``.blif`` file) consisting of logic equations and FPGA architecture primitives (flip-flops, adders, etc.).
253
+
* :ref:`ABC` performs 'logic optimization' which simplifies the circuit logic, and 'technology mapping' which converts logic equations into the Look-Up-Tables (LUTs) available on an FPGA.
254
+
255
+
3. **Finally, regardless of the synthesis method, run** :ref:`VPR`, which performs packing, placement, and routing of the circuit to implement it on the targeted FPGA architecture.
0 commit comments