mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 02:45:52 +00:00
Docs: Reflow line length
This commit is contained in:
parent
829e02ec5b
commit
40ba92e956
20 changed files with 782 additions and 785 deletions
|
@ -20,8 +20,8 @@ CodingStyle may be of interest.
|
|||
Quick guide
|
||||
-----------
|
||||
|
||||
Code examples from this section are included in the
|
||||
|code_examples/extensions|_ directory of the Yosys source code.
|
||||
Code examples from this section are included in the |code_examples/extensions|_
|
||||
directory of the Yosys source code.
|
||||
|
||||
.. |code_examples/extensions| replace:: :file:`docs/source/code_examples/extensions`
|
||||
.. _code_examples/extensions: https://github.com/YosysHQ/yosys/tree/main/docs/source/code_examples/extensions
|
||||
|
@ -56,10 +56,9 @@ It is possible to only work on this simpler version:
|
|||
}
|
||||
|
||||
When trying to understand what a command does, creating a small test case to
|
||||
look at the output of `dump` and `show` before and after the
|
||||
command has been executed can be helpful.
|
||||
:doc:`/using_yosys/more_scripting/selections` has more information on using
|
||||
these commands.
|
||||
look at the output of `dump` and `show` before and after the command has been
|
||||
executed can be helpful. :doc:`/using_yosys/more_scripting/selections` has more
|
||||
information on using these commands.
|
||||
|
||||
Creating a command
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
@ -151,8 +150,8 @@ Most commands modify existing modules, not create new ones.
|
|||
|
||||
When modifying existing modules, stick to the following DOs and DON'Ts:
|
||||
|
||||
- Do not remove wires. Simply disconnect them and let a successive
|
||||
`clean` command worry about removing it.
|
||||
- Do not remove wires. Simply disconnect them and let a successive `clean`
|
||||
command worry about removing it.
|
||||
- Use ``module->fixup_ports()`` after changing the ``port_*`` properties of
|
||||
wires.
|
||||
- You can safely remove cells or change the ``connections`` property of a cell,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue