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/vtr/run_vtr_flow.rst
+43-37Lines changed: 43 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,44 @@ For example::
60
60
will run the VTR flow to map the circuit ``my_circuit.v`` onto the architecture ``my_arch.xml``; the arguments ``--pack`` and ``--place`` will be passed to VPR (since they are unrecognized arguments to ``run_vtr_flow.py``).
61
61
They will cause VPR to perform only :ref:`packing and placement <general_options>`.
Passes a Verilog/SystemVerilog/UHDM file to Yosys for performing elaboration.
75
+
The BLIF elaboration and partial mapping phases will be executed on the generated netlist by Odin-II, and all latches in the Yosys+Odin-II output file will be rising edge.
76
+
Then ABC and VPR perform the default behaviour for the VTR flow, respectively.
Running the VTR flow with the default configuration using the Yosys standalone front-end.
87
+
The parser for these runs is considered the Yosys conventional Verilog/SystemVerilog parser (i.e., ``read_verilog -sv``), as the parser is not explicitly specified.
88
+
89
+
.. code-block:: bash
90
+
91
+
# Using the Yosys-SystemVerilog plugin if installed, otherwise the Yosys conventional Verilog parser
Running the default VTR flow using the Yosys standalone front-end.
98
+
The Yosys HDL parser is considered as Yosys-SystemVerilog plugin (i.e., ``read_systemverilog``) and Yosys UHDM plugin (i.e., ``read_uhdm``), respectively.
99
+
It is worth mentioning that utilizing Yosys plugins requires passing the ``-DYOSYS_SV_UHDM_PLUGIN=ON`` compile flag to build and install the plugins for the Yosys front-end.
Notifies ODIN II if the input BLIF is coarse-grain
255
+
Notifies ODIN II if the input BLIF is coarse-grained
222
256
223
257
**Default:** False
224
258
225
259
.. option:: -fflegalize
226
260
227
-
Makes flip-flops rising edge for coarse-grain input BLIFs in the techmap (ODIN II synthesis flow generates rising edge FFs by default, should be used for Yosys+Odin-II)
261
+
Makes flip-flops rising edge for coarse-grained input BLIFs in the partial technology mapping phase (ODIN II synthesis flow generates rising edge FFs by default, should be used for Yosys+Odin-II)
228
262
229
263
**Default:** False
230
264
231
265
.. option:: -encode_names
232
266
233
-
Enables Odin-II utilization of operation-type-encoded naming style for Yosys coarse-grained RTLIL nodes
267
+
Enables ODIN II utilization of operation-type-encoded naming style for Yosys coarse-grained RTLIL nodes
234
268
235
269
**Default:** False
236
270
237
271
.. option:: -yosys_script <YOSYS_SCRIPT>
238
272
239
-
Supplies Yosys with a .ys script file (similar to Tcl script), including synthesis steps.
273
+
Supplies Yosys with a .ys script file (similar to Tcl script), including the synthesis steps.
240
274
241
275
**Default:** None
242
276
243
277
.. option:: -parser <PARSER>
244
278
245
279
Specify a parser for the Yosys synthesizer [yosys (Verilog-2005), surelog (UHDM), yosys-plugin (SystemVerilog)].
246
-
The script determine the parser based on the input file extension if this argument is not used.
280
+
The script considers the Yosys conventional Verilog parser if this argument is not used.
The ``-parser`` option is only available for the Yosys standalone front-end.
253
287
On the other hand, the Yosys+Odin-II front-end automatically determine the Yosys HDL parser according to the input file extension.
254
288
If the input HDL type is not supported by the Yosys conventional Verilog front-end (i.e., ``read_verilog -sv``) and the Yosys plugins are not installed, the Yosys+Odin-II flow results in failure.
Passes a Verilog/SystemVerilog/UHDM file to Yosys for performing elaboration.
264
-
The BLIF elaboration and partial mapping phases will be executed on the generated netlist by Odin-II, and all latches in the Yosys+Odin-II output file will be rising edge.
265
-
Then ABC and VPR perform the default behaviour for the VTR flow, respectively.
Running the VTR flow with the default behaviour using the Yosys standalone front-end.
273
-
The parser for these runs is considered the Yosys conventional Verilog/SystemVerilog parser (i.e., ``read_verilog -sv``), as the parser is not explicitly specified.
Running the default VTR flow using the Yosys standalone front-end.
281
-
In above cases, the Yosys HDL parser is considered as Yosys-SystemVerilog plugin (i.e., ``read_systemverilog``) and Yosys UHDM plugin (i.e., ``read_uhdm``), respectively.
282
-
It is worth mentioning that utilizing Yosys plugins requires passing the ``-DYOSYS_SV_UHDM_PLUGIN=ON`` compile flag to build and install the plugins for the Yosys frontend.
Copy file name to clipboardExpand all lines: doc/src/yosys/quickstart.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -54,4 +54,4 @@ To run the VTR flow with the Yosys front-end, you would need to run the `run_vtr
54
54
55
55
.. note::
56
56
57
-
Please see `Run VTR Flow <https://docs.verilogtorouting.org/en/latest/vtr/run_vtr_flow/>`_ for advanced usage of the Yosys front-end with external plugins.
57
+
Please see `Run VTR Flow <https://docs.verilogtorouting.org/en/latest/vtr/run_vtr_flow/#advanced-usage>`_ for advanced usage of the Yosys front-end with external plugins.
0 commit comments