aboutsummaryrefslogtreecommitdiffstats
path: root/passes/cmds
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Revert to `stringf()` rather than stringstreams.Alberto Gonzalez2020-04-161-12/+8
| | |
| * | Clean up pseudo-private member usage in `passes/cmds/rename.cc`.Alberto Gonzalez2020-04-161-119/+107
| |/
* / select: add select -unset optionEddie Hung2020-04-161-3/+22
|/
* Merge pull request #1928 from YosysHQ/eddie/design_deleteEddie Hung2020-04-161-1/+21
|\ | | | | kernel: add design -delete option
| * kernel: add design -delete optionEddie Hung2020-04-161-1/+21
| |
* | Merge pull request #1927 from YosysHQ/eddie/design_remove_assertEddie Hung2020-04-161-1/+1
|\ \ | |/ |/| kernel: Design::remove(RTLIL::Module *) to check refcount_modules_
| * design: do not delete when iterating over Design::modules() directlyEddie Hung2020-04-141-1/+1
| |
* | setundef: Improve error messages.Marcelina Kościelnicka2020-04-151-10/+12
|/ | | | Fixes #1092.
* [NFCI] Deduplicate builtin FF cell types listMarcelina Kościelnicka2020-04-092-70/+2
| | | | | | | | | A few passes included the same list of FF cell types. Make it a global const instead. The zinit pass also seems to include a list like that, but given that it seems to be completely broken at the time (see #1568 discussion), I'm going to pretend I didn't see that.
* Merge pull request #1857 from whitequark/splitnets-skip-processeswhitequark2020-04-091-0/+3
|\ | | | | splitnets: skip modules with processes
| * splitnets: skip modules with processes.whitequark2020-04-031-0/+3
| |
* | Clean up `passes/cmds/connect.cc`.Alberto Gonzalez2020-04-081-14/+12
| |
* | Merge pull request #1874 from boqwxp/cleanup_showwhitequark2020-04-061-52/+42
|\ \ | | | | | | Clean up `passes/cmds/show.cc`.
| * | Use more descriptive variable name.Alberto Gonzalez2020-04-061-10/+10
| | | | | | | | | | | | Co-Authored-By: whitequark <whitequark@whitequark.org>
| * | Clean up `passes/cmds/show.cc`.Alberto Gonzalez2020-04-061-52/+42
| |/
* | Merge pull request #1870 from boqwxp/cleanup_setattrwhitequark2020-04-061-22/+14
|\ \ | | | | | | Clean up `passes/cmds/setattr.cc`.
| * | Clean up `passes/cmds/setattr.cc`.Alberto Gonzalez2020-04-061-22/+14
| |/
* | Merge pull request #1872 from boqwxp/cleanup_copywhitequark2020-04-061-2/+2
|\ \ | | | | | | Clean up private member usage in `passes/cmds/copy.cc`.
| * | Clean up private member usage in `passes/cmds/copy.cc`.Alberto Gonzalez2020-04-061-2/+2
| |/
* | Merge pull request #1871 from boqwxp/cleanup_splicewhitequark2020-04-061-18/+14
|\ \ | | | | | | Clean up `passes/cmds/splice.cc`.
| * | Clean up `passes/cmds/splice.cc`.Alberto Gonzalez2020-04-061-18/+14
| |/
* | Merge pull request #1869 from boqwxp/cleanup_connwrapperswhitequark2020-04-061-15/+7
|\ \ | | | | | | Clean up `passes/cmds/connwrappers.cc`.
| * | Clean up `passes/cmds/connwrappers.cc`.Alberto Gonzalez2020-04-061-15/+7
| |/
* | Merge pull request #1868 from boqwxp/cleanup_deletewhitequark2020-04-061-24/+19
|\ \ | | | | | | Clean up `passes/cmds/delete.cc`.
| * | Clean up `passes/cmds/delete.cc`.Alberto Gonzalez2020-04-061-24/+19
| |/
* | Merge pull request #1867 from boqwxp/cleanup_statwhitequark2020-04-061-26/+20
|\ \ | | | | | | Clean up `passes/cmds/stat.cc`.
| * | Clean up `passes/cmds/stat.cc`.Alberto Gonzalez2020-04-061-26/+20
| |/
* | Merge pull request #1859 from boqwxp/design_duplicatewhitequark2020-04-061-2/+13
|\ \ | | | | | | Add `-push-copy` option to the `design` command.
| * | Rename `-duplicate` to `-push-copy`.Alberto Gonzalez2020-04-041-6/+6
| | | | | | | | | | | | Co-Authored-By: whitequark <whitequark@whitequark.org>
| * | Add `-duplicate` option to the `design` command.Alberto Gonzalez2020-04-031-2/+13
| | |
* | | Clean up private member usage in `passes/cmds/bugpoint.cc`.Alberto Gonzalez2020-04-061-14/+14
| |/ |/|
* | kernel: big fat patch to use more ID::*, otherwise ID(*)Eddie Hung2020-04-0213-134/+134
| |
* | kernel: use more ID::*Eddie Hung2020-04-026-23/+23
| |
* | 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>