aboutsummaryrefslogtreecommitdiffstats
path: root/passes/cmds
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1845 from YosysHQ/eddie/kernel_speedupEddie Hung2020-04-021-1/+1
|\ | | | | kernel: speedup by using more pass-by-const-ref
| * kernel: more pass by const ref, more speedupsEddie Hung2020-03-181-1/+1
| |
* | Merge pull request #1832 from boqwxp/cleanup_passes_cmds_designEddie Hung2020-03-301-31/+33
|\ \ | | | | | | Clean up pseudo-private member usage in `passes/cmds/design.cc`.
| * | Replace `RTLIL::id2cstr()` with `log_id()`.Alberto Gonzalez2020-03-301-1/+1
| | | | | | | | | | | | Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
| * | Clean up pseudo-private member usage in `passes/cmds/design.cc`.Alberto Gonzalez2020-03-281-31/+33
| | |
* | | Merge pull request #1778 from rswarbrick/sv-definesN. Engelhardt2020-03-301-1/+2
|\ \ \ | | | | | | | | Add support for SystemVerilog-style `define to Verilog frontend
| * | | Add support for SystemVerilog-style `define to Verilog frontendRupert Swarbrick2020-03-271-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch should support things like `define foo(a, b = 3, c) a+b+c `foo(1, ,2) which will evaluate to 1+3+2. It also spots mistakes like `foo(1) (the 3rd argument doesn't have a default value, so a call site is required to set it). Most of the patch is a simple parser for the format in preproc.cc, but I've also taken the opportunity to wrap up the "name -> definition" map in a type, rather than use multiple std::map's. Since this type needs to be visible to code that touches defines, I've pulled it (and the frontend_verilog_preproc declaration) out into a new file at frontends/verilog/preproc.h and included that where necessary. Finally, the patch adds a few tests in tests/various to check that we are parsing everything correctly.
* | | Explicit include of csignalMiodrag Milanovic2020-03-281-0/+1
| | |
* | | windows - there are no stopping signalsMiodrag Milanovic2020-03-281-0/+1
|/ /
* | Merge pull request #1763 from boqwxp/issue1762N. Engelhardt2020-03-232-12/+53
|\ \ | | | | | | Closes #1762. Adds warnings for `select` arguments not matching any object and for `add` command when no modules selected
| * | Do not warn on empty selection with prefixed `arg_memb`.Alberto Gonzalez2020-03-231-1/+2
| | | | | | | | | | | | Co-Authored-By: N. Engelhardt <nak@symbioticeda.com>
| * | Suppress warnings for empty `select` arguments when `-count` or `-assert-*` ↵Alberto Gonzalez2020-03-231-4/+5
| | | | | | | | | | | | options are set.
| * | Warn on empty selection for `add` command.Alberto Gonzalez2020-03-232-6/+40
| | |
| * | Add N:* to select language, fix some old codeClaire Wolf2020-03-171-4/+9
| | | | | | | | | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com>
* | | Merge pull request #1774 from boqwxp/execN. Engelhardt2020-03-192-0/+204
|\ \ \ | |/ / |/| | Add `exec` command to allow running shell commands from inside Yosys scripts
| * | Update copyright and license header.Alberto Gonzalez2020-03-181-1/+1
| | | | | | | | | | | | | | | I hereby assign to Claire Wolf the copyright for all work I did on `passes/cmds/exec.cc`. In the event that this copyright assignment is not legally valid, I offer this work under the ISC license.
| * | Clean up `exec` code according to review.Alberto Gonzalez2020-03-181-5/+18
| | | | | | | | | | | | Co-Authored-By: Miodrag Milanović <mmicko@gmail.com>
| * | Allow specifying multiple regexes to match in `exec` command output, and ↵Alberto Gonzalez2020-03-161-33/+67
| | | | | | | | | | | | also to specify regexes that must _not_ match.
| * | Add `exec` command to run shell commands.Alberto Gonzalez2020-03-162-0/+157
| | |
* | | Merge pull request #1769 from boqwxp/select_cleanupEddie Hung2020-03-171-162/+157
|\ \ \ | |/ / |/| | Clean up code style and pseudo-private member usage in `passes/cmds/select.cc`
| * | Further clean up `passes/cmds/select.cc`.Alberto Gonzalez2020-03-161-11/+9
| | | | | | | | | | | | Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
| * | Cleanup code style and pseudo-private member usage in `passes/cmds/select.cc`.Alberto Gonzalez2020-03-161-162/+159
| |/
* | Add YS_ prefix to macros, add explanation and apply to older version as wellMiodrag Milanovic2020-03-131-10/+10
| |
* | Use boost xpressive for gcc 4.8Miodrag Milanovic2020-03-131-28/+10
|/
* Merge pull request #1751 from boqwxp/add_assertN. Engelhardt2020-03-121-1/+57
|\ | | | | Extend `add` command to allow adding $assert cells.
| * Extend `add` command to allow adding cells for verification like $assert, ↵Alberto Gonzalez2020-03-101-1/+57
| | | | | | | | $assume, etc.
* | Clean up passes/cmds/add.cc code style.Alberto Gonzalez2020-03-101-20/+17
|/
* Merge pull request #1705 from YosysHQ/logger_passMiodrag Milanović2020-02-262-0/+202
|\ | | | | Logger pass
| * Fix line endingsMiodrag Milanovic2020-02-231-10/+10
| |
| * Update explanation for expect-no-warningsMiodrag Milanovic2020-02-221-1/+1
| |
| * Check other regex parametersMiodrag Milanovic2020-02-221-15/+30
| |
| * check for regex errorsMiodrag Milanovic2020-02-201-16/+20
| |
| * Option to expect no warningsMiodrag Milanovic2020-02-171-0/+7
| |
| * Add expect option to logger commandMiodrag Milanovic2020-02-141-1/+35
| |
| * Add new logger passMiodrag Milanovic2020-02-132-0/+142
| |
* | show: Add -nobg argument.Tim 'mithro' Ansell2020-02-151-6/+13
|/ | | | Makes yosys wait for the viewer command to finish before continuing.
* redirect fuser stderr to /dev/nullPepijn de Vos2020-01-281-1/+1
|
* autoname: do not autoname portsEddie Hung2020-01-141-1/+1
|
* Add RTLIL::constpad, init by yosys_setup(); use for abc9Eddie Hung2020-01-081-7/+18
|
* scc to use design->selected_modules() which avoids black/white-boxesEddie Hung2020-01-071-26/+25
|
* use extra_argsN. Engelhardt2019-12-181-1/+1
|
* add assert option to scratchpad commandN. Engelhardt2019-12-161-5/+44
|
* add periods and newlines to help messageN. Engelhardt2019-12-131-5/+5
|
* add test and make help message more verboseN. Engelhardt2019-12-121-1/+6
|
* add a command to read/modify scratchpad contentsN. Engelhardt2019-12-122-0/+87
|
* Add "autoname" pass and use it in "synth_ice40"Clifford Wolf2019-11-132-0/+135
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add "check -allow-tbuf"Clifford Wolf2019-10-031-8/+22
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add "check -mapped"Clifford Wolf2019-10-021-21/+35
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Improve "portlist" commandClifford Wolf2019-09-251-9/+26
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Add "portlist" commandClifford Wolf2019-09-242-0/+77
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>