Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement `-write-solution` option for the `qbfsat` command. | Alberto Gonzalez | 2020-04-04 | 1 | -7/+28 |
| | |||||
* | Clean up `passes/sat/qbfsat.cc`. | Alberto Gonzalez | 2020-04-04 | 1 | -86/+101 |
| | |||||
* | Updated `yosys-smtbmc` to optionally dump raw bit strings, and fixed hole ↵ | Alberto Gonzalez | 2020-04-04 | 2 | -32/+54 |
| | | | | value recovery using that mode. | ||||
* | Hole value recovery and specialization implementation for `qbfsat` command. | Alberto Gonzalez | 2020-04-04 | 2 | -20/+70 |
| | |||||
* | Barebones implementation of `qbfsat` command. | Alberto Gonzalez | 2020-04-04 | 1 | -32/+157 |
| | |||||
* | Initial skeleton for `qbfsat` command. | Alberto Gonzalez | 2020-04-04 | 2 | -0/+207 |
| | |||||
* | Rename `-duplicate` to `-push-copy`. | Alberto Gonzalez | 2020-04-04 | 1 | -6/+6 |
| | | | | Co-Authored-By: whitequark <whitequark@whitequark.org> | ||||
* | Add `-duplicate` option to the `design` command. | Alberto Gonzalez | 2020-04-03 | 1 | -2/+13 |
| | |||||
* | Merge pull request #1783 from boqwxp/astcc_cleanup | Eddie Hung | 2020-03-30 | 1 | -13/+20 |
|\ | | | | | Clean up pseudo-private member usage in `frontends/ast/ast.cc`. | ||||
| * | Add explanatory comment about inefficient wire removal and remove ↵ | Alberto Gonzalez | 2020-03-30 | 1 | -4/+8 |
| | | | | | | | | | | | | superfluous call to `fixup_ports()`. Co-Authored-By: Eddie Hung <eddie@fpgeh.com> | ||||
| * | Revert over-aggressive change to a more modest cleanup. | Alberto Gonzalez | 2020-03-27 | 1 | -2/+3 |
| | | |||||
| * | Clean up pseudo-private member usage in `frontends/ast/ast.cc`. | Alberto Gonzalez | 2020-03-19 | 1 | -11/+13 |
| | | |||||
* | | Merge pull request #1835 from boqwxp/cleanup_sat_expose | Eddie Hung | 2020-03-30 | 1 | -85/+66 |
|\ \ | | | | | | | Clean up pseudo-private member usage in `passes/sat/expose.cc`. | ||||
| * | | Remove unused function parameter. | Alberto Gonzalez | 2020-03-30 | 1 | -2/+2 |
| | | | |||||
| * | | Simplify iterating over selected modules or cells. | Alberto Gonzalez | 2020-03-30 | 1 | -16/+4 |
| | | | | | | | | | | | | Co-Authored-By: N. Engelhardt <nak@symbioticeda.com> | ||||
| * | | Clean up more in `passes/sat/expose.cc`. | Alberto Gonzalez | 2020-03-30 | 1 | -64/+59 |
| | | | | | | | | | | | | Co-Authored-By: N. Engelhardt <nak@symbioticeda.com> | ||||
| * | | Clean up pseudo-private member usage in `passes/sat/expose.cc`. | Alberto Gonzalez | 2020-03-28 | 1 | -11/+9 |
| | | | |||||
* | | | Merge pull request #1832 from boqwxp/cleanup_passes_cmds_design | Eddie Hung | 2020-03-30 | 1 | -31/+33 |
|\ \ \ | | | | | | | | | Clean up pseudo-private member usage in `passes/cmds/design.cc`. | ||||
| * | | | Replace `RTLIL::id2cstr()` with `log_id()`. | Alberto Gonzalez | 2020-03-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Co-Authored-By: Eddie Hung <eddie@fpgeh.com> | ||||
| * | | | Clean up pseudo-private member usage in `passes/cmds/design.cc`. | Alberto Gonzalez | 2020-03-28 | 1 | -31/+33 |
| |/ / | |||||
* | | | Merge pull request #1786 from boqwxp/hierarchycc_cleanup | Eddie Hung | 2020-03-30 | 1 | -69/+63 |
|\ \ \ | | | | | | | | | Clean up pseudo-private member usage in `passes/hierarchy/hierarchy.cc`. | ||||
| * | | | Fix double deletion in `passes/hierarchy/hierarchy.cc`. | Alberto Gonzalez | 2020-03-30 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | Co-Authored-By: Eddie Hung <eddie@fpgeh.com> | ||||
| * | | | Clean up pseudo-private member usage in `passes/hierarchy/hierarchy.cc`. | Alberto Gonzalez | 2020-03-19 | 1 | -68/+63 |
| | |/ | |/| | |||||
* | | | Merge pull request #1831 from boqwxp/cleanup_sat_eval | Eddie Hung | 2020-03-30 | 1 | -46/+44 |
|\ \ \ | | | | | | | | | Clean up pseudo-private member usage in `passes/sat/eval.cc`. | ||||
| * | | | Further clean up `passes/sat/eval.cc`. | Alberto Gonzalez | 2020-03-30 | 1 | -16/+15 |
| | | | | | | | | | | | | | | | | Co-Authored-By: Eddie Hung <eddie@fpgeh.com> | ||||
| * | | | Clean up pseudo-private member usage in `passes/sat/eval.cc`. | Alberto Gonzalez | 2020-03-28 | 1 | -35/+34 |
| | |/ | |/| | |||||
* | | | Merge pull request #1833 from boqwxp/cleanup_sat_freduce | Eddie Hung | 2020-03-30 | 1 | -15/+13 |
|\ \ \ | | | | | | | | | Clean up pseudo-private member usage in `passes/sat/freduce.cc`. | ||||
| * | | | Further clean up `passes/sat/freduce.cc`. | Alberto Gonzalez | 2020-03-30 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | Co-Authored-By: Eddie Hung <eddie@fpgeh.com> | ||||
| * | | | Clean up pseudo-private member usage in `passes/sat/freduce.cc`. | Alberto Gonzalez | 2020-03-28 | 1 | -13/+12 |
| |/ / | |||||
* | | | Merge pull request #1811 from PeterCrozier/typedef_scope | N. Engelhardt | 2020-03-30 | 6 | -43/+88 |
|\ \ \ | | | | | | | | | Support module/package/interface/block scope for typedef names. | ||||
| * | | | Inline productions to follow house style. | Peter Crozier | 2020-03-27 | 1 | -33/+29 |
| | | | | |||||
| * | | | Error duplicate declarations of a typedef name in the same scope. | Peter Crozier | 2020-03-24 | 2 | -3/+11 |
| | | | | |||||
| * | | | Support module/package/interface/block scope for typedef names. | Peter Crozier | 2020-03-23 | 6 | -22/+63 |
| | | | | |||||
* | | | | Merge pull request #1778 from rswarbrick/sv-defines | N. Engelhardt | 2020-03-30 | 11 | -151/+636 |
|\ \ \ \ | | | | | | | | | | | Add support for SystemVerilog-style `define to Verilog frontend | ||||
| * | | | | Add support for SystemVerilog-style `define to Verilog frontend | Rupert Swarbrick | 2020-03-27 | 11 | -151/+636 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 csignal | Miodrag Milanovic | 2020-03-28 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | windows - there are no stopping signals | Miodrag Milanovic | 2020-03-28 | 1 | -0/+1 |
| |_|/ / |/| | | | |||||
* | | | | Merge pull request #1607 from whitequark/simplify-simplify-meminit | Claire Wolf | 2020-03-27 | 1 | -63/+82 |
|\ \ \ \ | |/ / / |/| | | | ast: avoid intermediate wires/assigns when lowering to AST_MEMINIT | ||||
| * | | | ast: avoid intermediate wires/assigns when lowering to AST_MEMINIT. | whitequark | 2020-02-07 | 1 | -65/+84 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, every initial assignment to a memory generated two wires and four assigns in a process. For unknown reasons (I did not investigate), large amounts of assigns cause quadratic slowdown later in the AST frontend, in processAst/removeSignalFromCaseTree. As a consequence, common and reasonable Verilog code, such as: reg [`WIDTH:0] mem [0:`DEPTH]; integer i; initial for (i = 0; i <= `DEPTH; i++) mem[i] = 0; took extremely long time to be processed; around 80 s for a 8-wide, 8192-deep memory. After this commit, initial assignments where address and/or data are constant (after `generate`) do not incur the cost of intermediate wires; expressions like `mem[i+1]=i^(i<<1)` are considered constant. This results in speedups of orders of magnitude for common memory sizes; it now takes merely 0.4 s to process a 8-wide, 8192-deep memory, and only 5.8 s to process a 8-wide, 131072-deep one. As a bonus, this change also results in nontrivial speedups later in the synthesis pipeline, since pass sequencing issues meant that all of these intermediate wires were subject to transformations such as width reduction, even though they existed solely to be constant folded away in `memory_collect`. | ||||
* | | | | Merge pull request #1815 from boqwxp/fix-ef-optimize | Claire Wolf | 2020-03-27 | 1 | -1/+7 |
|\ \ \ \ | | | | | | | | | | | Fix solver output parsing for exists-forall optimization | ||||
| * | | | | Do not change solver output parsing for non-exists-forall problems. | Alberto Gonzalez | 2020-03-26 | 1 | -2/+6 |
| | | | | | |||||
| * | | | | Skip reading stdout from the solver that if it isn't a line reading only ↵ | Alberto Gonzalez | 2020-03-26 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | "sat", "unsat", or "unknown". | ||||
* | | | | | Merge pull request #1806 from YosysHQ/mwk/techmap-replace-fix | Claire Wolf | 2020-03-26 | 2 | -1/+19 |
|\ \ \ \ \ | |/ / / / |/| | | | | techmap: Fix cell names with _TECHMAP_REPLACE_.* | ||||
| * | | | | techmap: Fix cell names with _TECHMAP_REPLACE_.* | Marcin Kościelnicki | 2020-03-23 | 2 | -1/+19 |
| | | | | | | | | | | | | | | | | | | | | Fixes #1804. | ||||
* | | | | | Revert part of 0fda8308 from #1746 that broke other smtbmc flows | Claire Wolf | 2020-03-24 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com> | ||||
* | | | | | Merge pull request #1763 from boqwxp/issue1762 | N. Engelhardt | 2020-03-23 | 8 | -12/+73 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | 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 Gonzalez | 2020-03-23 | 2 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | Co-Authored-By: N. Engelhardt <nak@symbioticeda.com> | ||||
| * | | | | Suppress warnings for empty `select` arguments when `-count` or `-assert-*` ↵ | Alberto Gonzalez | 2020-03-23 | 2 | -4/+7 |
| | | | | | | | | | | | | | | | | | | | | options are set. | ||||
| * | | | | Add tests for `select` command warnings. | Alberto Gonzalez | 2020-03-23 | 4 | -0/+13 |
| | | | | | |||||
| * | | | | Warn on empty selection for `add` command. | Alberto Gonzalez | 2020-03-23 | 2 | -6/+40 |
| | | | | |