Commentary

This commit is contained in:
Wilson Snyder 2025-05-11 22:36:16 -04:00
parent aee5051526
commit 8100bc64a0
3 changed files with 35 additions and 31 deletions

View File

@ -390,8 +390,8 @@ detailed descriptions of these arguments.
--no-json-edit-nums Don't dump editNum in .tree.json files
--no-json-ids Don't use short identifiers instead of adresses/paths in .tree.json
--json-only Create JSON parser output (.tree.json and .meta.json)
--json-only-meta-output .tree.meta.json output filename
--json-only-output .tree.json output filename
--json-only-meta-output <filename> Set .tree.meta.json output filename
--json-only-output <filename> Set .tree.json output filename
--l2-name <value> Verilog scope name of the top module
--language <lang> Default language standard to parse
-LDFLAGS <flags> Linker pre-object arguments for makefile
@ -448,7 +448,7 @@ detailed descriptions of these arguments.
--quiet-exit Don't print the command on failure
--quiet-stats Don't print statistics
--relative-includes Resolve includes relative to current file
--reloop-limit Minimum iterations for forming loops
--reloop-limit <value> Minimum iterations for forming loops
--report-unoptflat Extra diagnostics for UNOPTFLAT
--rr Run Verilator and record with rr
--runtime-debug Enable model runtime debugging

View File

@ -446,9 +446,9 @@ Summary:
.. option:: --dump-tree-dot
Rarely needed. Enable dumping Ast .tree.dot debug files in Graphviz
Dot format. This option implies :vlopt:`--dump-tree`, unless
:vlopt:`--dumpi-tree` was passed explicitly.
Rarely needed - for developer use. Enable dumping Ast .tree.dot debug
files in Graphviz Dot format. This option implies :vlopt:`--dump-tree`,
unless :vlopt:`--dumpi-tree` was passed explicitly.
.. option:: --dump-tree-json
@ -568,9 +568,9 @@ Summary:
.. option:: -fno-const-before-dfg
Do not apply any global expression folding prior to the DFG pass. This
option is solely for the purpose of DFG testing and should not be used
otherwise.
Rarely needed. Do not apply any global expression folding prior to the
DFG pass. This option is solely for the purpose of DFG testing and
should not be used otherwise.
.. option:: -fno-const-bit-op-tree
@ -578,24 +578,25 @@ Summary:
.. option:: -fno-dfg
Disable all use of the DFG-based combinational logic optimizer.
Alias for :vlopt:`-fno-dfg-pre-inline` and :vlopt:`-fno-dfg-post-inline`.
Rarely needed. Disable all use of the DFG-based combinational logic
optimizer. Alias for :vlopt:`-fno-dfg-pre-inline` and
:vlopt:`-fno-dfg-post-inline`.
.. option:: -fno-dfg-peephole
Disable the DFG peephole optimizer.
Rarely needed. Disable the DFG peephole optimizer.
.. option:: -fno-dfg-peephole-<pattern>
Disable individual DFG peephole optimizer pattern.
Rarely needed. Disable individual DFG peephole optimizer pattern.
.. option:: -fno-dfg-post-inline
Do not apply the DFG optimizer after inlining.
Rarely needed. Do not apply the DFG optimizer after inlining.
.. option:: -fno-dfg-pre-inline
Do not apply the DFG optimizer before inlining.
Rarely needed. Do not apply the DFG optimizer before inlining.
.. option:: -fno-expand
@ -647,8 +648,9 @@ Summary:
.. option:: -fno-var-split
Do not attempt to split variables automatically. Variables explicitly
annotated with :option:`/*verilator&32;split_var*/` are still split.
Rarely needed. Do not attempt to split variables
automatically. Variables explicitly annotated with
:option:`/*verilator&32;split_var*/` are still split.
.. option:: -future0 <option>
@ -754,10 +756,10 @@ Summary:
.. option:: --hierarchical-params-file <filename>
Internal flag inserted used during :vlopt:`--hierarchical`; specifies
name of hierarchical parameters file for deparametrized modules with
:option:`/*verilator&32;hier_block*/` metacomment. See
:ref:`Hierarchical Verilation`.
Rarely needed - internal use. Internal flag inserted used during
:vlopt:`--hierarchical`; specifies name of hierarchical parameters file
for deparametrized modules with :option:`/*verilator&32;hier_block*/`
metacomment. See :ref:`Hierarchical Verilation`.
.. option:: -I<dir>
@ -828,13 +830,15 @@ Summary:
.. option:: --json-only-meta-output <filename>
Specifies the filename for the metadata output file (`.tree.meta.json`) of --json-only.
Using this option automatically sets :vlopt:`--json-only`.
Specifies the filename for the metadata output file (`.tree.meta.json`)
of :vlopt:`--json-only`. Using this option automatically sets
:vlopt:`--json-only`.
.. option:: --json-only-output <filename>
Specifies the filename for the main output file (`.tree.json`) of --json-only.
Using this option automatically sets :vlopt:`--json-only`.
Specifies the filename for the main output file (`.tree.json`) of
:vlopt:`--json-only`. Using this option automatically sets
:vlopt:`--json-only`.
.. option:: --l2-name <value>
@ -960,7 +964,7 @@ Summary:
.. option:: --max-num-width <value>
Set the maximum number literal width (e.g., in 1024'd22 this
Set the maximum number literal width (e.g., in 1024'd22 the
1024). Defaults to 64K.
.. option:: --Mdir <directory>
@ -1188,8 +1192,8 @@ Summary:
.. option:: --private
Opposite of :vlopt:`--public`. This is the default; this option exists for
backwards compatibility.
Rarely needed. Opposite of :vlopt:`--public`. This is the default; this
option exists for backwards compatibility.
.. option:: --prof-c
@ -1344,7 +1348,7 @@ Summary:
the path of the referencing file, instead of relative to the current
directory.
.. option:: --reloop-limit
.. option:: --reloop-limit <value>
Rarely needed. Verilator attempts to turn some common sequences of
statements into loops in the output. This argument specifies the minimum

View File

@ -112,12 +112,12 @@ In specific debug and other modes, it also creates:
.. list-table::
* - *{prefix}*\ .xml
- XML tree information (from --xml)
* - *{prefix}*\ .tree.json
- JSON tree information (from --json-only)
* - *{prefix}*\ .tree.meta.json
- JSON tree metadata (from --json-only)
* - *{prefix}*\ .xml
- XML tree information (from --xml)
* - *{prefix}*\ __cdc.txt
- Clock Domain Crossing checks (from --cdc)
* - *{prefix}*\ __stats.txt