Skip to content

Commit 700ba98

Browse files
Merge pull request #5139 from YosysHQ/docs-preview-bugpoint
Docs: Add bugpoint guide
2 parents f22fe91 + 8750ca4 commit 700ba98

File tree

13 files changed

+994
-36
lines changed

13 files changed

+994
-36
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ much easier for someone to respond and help.
1919

2020
### Bug reports
2121

22-
Before you submit an issue, please have a search of the existing issues in case
23-
one already exists. Making sure that you have a minimal, complete and
24-
verifiable example (MVCE) is a great way to quickly check an existing issue
25-
against a new one. Stack overflow has a guide on [how to create an
26-
MVCE](https://stackoverflow.com/help/minimal-reproducible-example). The
27-
[`bugpoint`
28-
command](https://yosyshq.readthedocs.io/projects/yosys/en/latest/cmd/bugpoint.html)
29-
in Yosys can be helpful for this process.
22+
Before you submit an issue, please check out the [how-to guide for
23+
`bugpoint`](https://yosys.readthedocs.io/en/latest/using_yosys/bugpoint.html).
24+
This guide will take you through the process of using the [`bugpoint`
25+
command](https://yosys.readthedocs.io/en/latest/cmd/bugpoint.html) in Yosys to
26+
produce a [minimal, complete and verifiable
27+
example](https://stackoverflow.com/help/minimal-reproducible-example) (MVCE).
28+
Providing an MVCE with your bug report drastically increases the likelihood that
29+
someone will be able to help resolve your issue.
3030

3131

3232
# Using pull requests

docs/source/cmd_ref.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.. _cmd_ref:
2-
31
================================================================================
42
Command line reference
53
================================================================================

docs/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464

6565
# Ensure that autosectionlabel will produce unique names
6666
autosectionlabel_prefix_document = True
67-
autosectionlabel_maxdepth = 1
6867

6968
# include todos for previews
7069
extensions.append('sphinx.ext.todo')

docs/source/getting_started/scripting_intro.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ of the comment is a semicolon ``;`` or a new line.
2626
.. code-block::
2727
:caption: Using the ``-p`` option
2828
29-
$ yosys -p "read_verilog fifo.v; :this is a comment; prep"
29+
$ yosys -p 'read_verilog fifo.v; :this is a comment; prep'
3030
3131
.. warning::
3232

@@ -42,6 +42,13 @@ will be raised by Yosys. `exec` provides a much more flexible way of executing
4242
commands, allowing the output to be logged and more control over when to
4343
generate errors.
4444

45+
.. warning::
46+
47+
Take care when using the ``yosys -p`` option. Some shells such as bash will
48+
perform substitution options inside of a double quoted string, such as ``!``
49+
for history substitution and ``$`` for variable substitution; single quotes
50+
should be used instead to pass the string to Yosys without substitution.
51+
4552
The synthesis starter script
4653
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4754

0 commit comments

Comments
 (0)