Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor to directly call ILANG_BACKEND::dump_const() + directly lookup src ↵ | Sahand Kashani | 2020-03-24 | 1 | -68/+15 |
| | | | | attribute | ||||
* | Indentation conventions | Sahand Kashani | 2020-03-23 | 1 | -5/+6 |
| | |||||
* | Const parameter in function (backends/firrtl/firrtl.cc) | Sahand Kashani-Akhavan | 2020-03-23 | 1 | -1/+1 |
| | | | Co-Authored-By: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com> | ||||
* | Strip quotes around fileinfo strings | Sahand Kashani | 2020-03-21 | 1 | -1/+5 |
| | | | | | | Yosys puts quotes around the string that represents the fileinfo whereas firrtl does not. So when firrtl sees quotes, it escapes them with an extra backslash which makes it hard to read afterwards. | ||||
* | Add fileinfo to firrtl backend for assignments and non-instance cells | Sahand Kashani | 2020-03-21 | 1 | -21/+30 |
| | |||||
* | Refactor fileinfo emission characters to single location | Sahand Kashani | 2020-03-20 | 1 | -6/+8 |
| | |||||
* | Add fileinfo to firrtl backend for instances | Sahand Kashani | 2020-03-19 | 1 | -2/+3 |
| | |||||
* | Add fileinfo to firrtl backend for modules and wires | Sahand Kashani | 2020-03-19 | 1 | -12/+20 |
| | |||||
* | Add fileinfo to firrtl backend for top-level circuit | Sahand Kashani | 2020-03-19 | 1 | -1/+62 |
| | |||||
* | Merge pull request #1768 from boqwxp/smt2_cleanup | N. Engelhardt | 2020-03-16 | 1 | -5/+5 |
|\ | | | | | Clean up pseudo-private member usage in `backends/smt2/smt2.cc`. | ||||
| * | Clean up pseudo-private member usage in `backends/smt2/smt2.cc`. | Alberto Gonzalez | 2020-03-13 | 1 | -5/+5 |
| | | |||||
* | | Merge pull request #1746 from boqwxp/optimization | N. Engelhardt | 2020-03-16 | 3 | -1/+33 |
|\ \ | | | | | | | Add support for optimizing exists-forall problems. | ||||
| * | | Add support for optimizing exists-forall problems. | Alberto Gonzalez | 2020-03-13 | 3 | -1/+33 |
| | | | | | | | | | | | | | | | | | | Modifies smt2 backend to recognize `$anyconst` etc. assigned to a wire with the `maximize` or `minimize` attribute and emit `; yosys-smt2-maximize` or `; yosys-smt2-minimize` directives as appropriate. Modifies `backends/smt2/smtbmc.py` and `smtio.py` to recognize those directives and emit a `(maximize ...)` or `(minimize ...)` command at the end of `smt_forall_assert()`, as described in the paper "νZ - An Optimizing SMT Solver" by Nikolaj Bjørner et al. Adds an example `examples/smtbmc/demo9.v` to show how it can be used. | ||||
* | | | remove include where not used | Miodrag Milanovic | 2020-03-13 | 1 | -1/+0 |
| |/ |/| | |||||
* | | xaiger: remove some unnecessary operations ... | Eddie Hung | 2020-03-06 | 1 | -9/+2 |
| | | | | | | | | | | ... since they can not be triggered by (* keep *) anymore (but could still be triggered by (* abc9_scc *) !?!) | ||||
* | | abc9: (* keep *) wires to be PO only, not PI as well; fix scc handling | Eddie Hung | 2020-03-06 | 1 | -3/+4 |
|/ | |||||
* | Make TimingInfo::TimingInfo(SigBit) constructor explicit | Eddie Hung | 2020-02-27 | 1 | -1/+1 |
| | |||||
* | write_xaiger: add comment about arrival times of flop outputs | Eddie Hung | 2020-02-27 | 1 | -0/+1 |
| | |||||
* | Get rid of (* abc9_{arrival,required} *) entirely | Eddie Hung | 2020-02-27 | 1 | -29/+15 |
| | |||||
* | abc9_ops: ignore (* abc9_flop *) if not '-dff' | Eddie Hung | 2020-02-27 | 1 | -38/+44 |
| | |||||
* | xilinx: improve specify functionality | Eddie Hung | 2020-02-27 | 1 | -0/+3 |
| | |||||
* | Merge pull request #1703 from YosysHQ/eddie/specify_improve | Eddie Hung | 2020-02-21 | 1 | -2/+10 |
|\ | | | | | Improve specify parser | ||||
| * | specify: system timing checks to accept min:typ:max triple | Eddie Hung | 2020-02-13 | 1 | -2/+10 |
| | | |||||
* | | Revert "abc9: fix abc9_arrival for flops" | Eddie Hung | 2020-02-14 | 1 | -5/+2 |
| | | | | | | | | This reverts commit f7c0dbecee7ee8f2e3fc8bc8337e7045fd4aff15. | ||||
* | | write_xaiger: default value for abc9_init | Eddie Hung | 2020-02-13 | 1 | -1/+1 |
| | | |||||
* | | abc9: fix abc9_arrival for flops | Eddie Hung | 2020-02-13 | 1 | -2/+5 |
|/ | |||||
* | json: Change compat mode to directly emit ints <= 32 bits | R. Ou | 2020-02-09 | 1 | -3/+3 |
| | | | | | | This increases compatibility with certain older parsers in some cases that worked before commit 15fae357 but do not work with the current compat-int mode | ||||
* | Merge pull request #1683 from whitequark/write_verilog-memattrs | whitequark | 2020-02-07 | 1 | -0/+1 |
|\ | | | | | write_verilog: dump $mem cell attributes | ||||
| * | write_verilog: dump $mem cell attributes. | whitequark | 2020-02-06 | 1 | -0/+1 |
| | | | | | | | | | | The Verilog backend already dumps attributes on RTLIL::Memory objects but not on `$mem` cells. | ||||
* | | edif: more resilience to mismatched port connection sizes. | Marcin Kościelnicki | 2020-02-06 | 1 | -16/+27 |
|/ | | | | Fixes #1653. | ||||
* | Merge pull request #1661 from YosysHQ/eddie/abc9_required | Eddie Hung | 2020-02-05 | 1 | -17/+42 |
|\ | | | | | abc9: add support for required times | ||||
| * | Merge branch 'eddie/abc9_refactor' into eddie/abc9_required | Eddie Hung | 2020-01-27 | 2 | -3/+5 |
| |\ | |||||
| * \ | Merge remote-tracking branch 'origin/eddie/abc9_refactor' into ↵ | Eddie Hung | 2020-01-15 | 1 | -1/+2 |
| |\ \ | | | | | | | | | | | | | eddie/abc9_required | ||||
| * | | | abc9_ops: cope with (* abc9_flop *) in place of (* abc9_box_id *) | Eddie Hung | 2020-01-14 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/eddie/abc9_refactor' into ↵ | Eddie Hung | 2020-01-14 | 1 | -2/+6 |
| |\ \ \ | | | | | | | | | | | | | | | | eddie/abc9_required | ||||
| * | | | | abc9_ops: generate flop box ids, add abc9_required to FD* cells | Eddie Hung | 2020-01-14 | 1 | -1/+5 |
| | | | | | |||||
| * | | | | Merge remote-tracking branch 'origin/eddie/abc9_refactor' into ↵ | Eddie Hung | 2020-01-14 | 1 | -1/+1 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | eddie/abc9_required | ||||
| * | | | | | write_xaiger: skip if no arrival times | Eddie Hung | 2020-01-14 | 1 | -0/+3 |
| | | | | | | |||||
| * | | | | | Merge remote-tracking branch 'origin/eddie/abc9_refactor' into ↵ | Eddie Hung | 2020-01-14 | 2 | -94/+145 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | eddie/abc9_required | ||||
| * \ \ \ \ \ | Merge remote-tracking branch 'origin/eddie/abc9_refactor' into ↵ | Eddie Hung | 2020-01-12 | 1 | -19/+28 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | eddie/abc9_required | ||||
| * | | | | | | | log_debug() for abc9_{arrival,required} times | Eddie Hung | 2020-01-10 | 1 | -0/+8 |
| | | | | | | | | |||||
| * | | | | | | | write_xaiger: cleanup | Eddie Hung | 2020-01-09 | 1 | -17/+15 |
| | | | | | | | | |||||
| * | | | | | | | write_xaiger: cope with abc9_arrival as string of ints | Eddie Hung | 2020-01-09 | 1 | -8/+21 |
| | | | | | | | | |||||
* | | | | | | | | json: remove the 32-bit parameter special case | Marcin Kościelnicki | 2020-02-01 | 1 | -10/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the rules for encoding parameters in JSON were as follows: - if the parameter is not a string: - if it is exactly 32 bits long and there are no z or x bits, emit it as an int - otherwise, emit it as a string made of 0/1/x/z characters - if the parameter is a string: - if it contains only 0/1/x/z characters, append a space at the end to distinguish it from a non-string - otherwise, emit it directly However, this caused a problem in the json11 parser used in nextpnr: yosys emits unsigned ints, and nextpnr parses them as signed, using the value of INT_MIN for values that overflow the signed int range. This caused destruction of LUT5 initialization values. Since both nextpnr and yosys parser can also accept 32-bit parameters in the same encoding as other widths, let's just remove that special case. The old behavior is still left behind a `-compat-int` flag, in case someone relies on it. | ||||
* | | | | | | | | Preserve wires with keep attribute in EDIF back-end | Claire Wolf | 2020-01-29 | 1 | -9/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Claire Wolf <clifford@clifford.at> | ||||
* | | | | | | | | Merge pull request #1619 from YosysHQ/eddie/abc9_refactor | Eddie Hung | 2020-01-27 | 1 | -363/+192 |
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | Refactor `abc9` pass | ||||
| * | | | | | | | Merge remote-tracking branch 'origin/master' into eddie/abc9_refactor | Eddie Hung | 2020-01-21 | 1 | -0/+2 |
| |\ \ \ \ \ \ \ | |||||
| * | | | | | | | | write_xaiger: fix for (* keep *) on flop output | Eddie Hung | 2020-01-21 | 1 | -3/+3 |
| | |_|_|_|_|_|/ | |/| | | | | | | |||||
| * | | | | | | | write_xaiger: skip abc9_flop only if abc_box_seq present | Eddie Hung | 2020-01-15 | 1 | -1/+2 |
| | |_|_|_|_|/ | |/| | | | | | |||||
| * | | | | | | write_xaiger: do not export flop inputs as POs | Eddie Hung | 2020-01-14 | 1 | -2/+6 |
| | |_|_|_|/ | |/| | | | |