Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove now-redundant dff2dffs pass. | Marcelina Kościelnicka | 2020-08-07 | 1 | -50/+0 |
| | |||||
* | peepopt: Remove now-redundant dffmux pattern. | Marcelina Kościelnicka | 2020-08-07 | 2 | -143/+129 |
| | |||||
* | Replace opt_rmdff with opt_dff. | Marcelina Kościelnicka | 2020-08-07 | 8 | -34/+31 |
| | |||||
* | Add dffunmap pass. | Marcelina Kościelnicka | 2020-07-31 | 1 | -0/+100 |
| | | | | | To be used with backends that cannot deal with fancy FF types (like blif or smt). | ||||
* | opt_expr: Remove -clkinv option, make it the default. | Marcelina Kościelnicka | 2020-07-31 | 1 | -2/+1 |
| | | | | | Adds -noclkinv option just in case the old behavior was actually useful to someone. | ||||
* | synth_ice40: Use opt_dff. | Marcelina Kościelnicka | 2020-07-30 | 1 | -1/+1 |
| | | | | | | | | | The main part is converting ice40_dsp to recognize the new FF types created in opt_dff instead of trying to recognize the mux patterns on its own. The fsm call has been moved upwards because the passes cannot deal with $dffe/$sdff*, and other optimizations don't help it much anyway. | ||||
* | synth_xilinx: Use opt_dff. | Marcelina Kościelnicka | 2020-07-30 | 1 | -9/+7 |
| | | | | | | | | | The main part is converting xilinx_dsp to recognize the new FF types created in opt_dff instead of trying to recognize the patterns on its own. The fsm call has been moved upwards because the passes cannot deal with $dffe/$sdff*, and other optimizations don't help it much anyway. | ||||
* | Add opt_dff pass. | Marcelina Kościelnicka | 2020-07-30 | 10 | -3/+914 |
| | |||||
* | opt_expr: Fix handling of $_XNOR_ cells with A = B. | Marcelina Kościelnicka | 2020-07-29 | 1 | -0/+14 |
| | | | | Fixes #2311. | ||||
* | Merge pull request #2306 from YosysHQ/mwk/equiv_induct-undef | clairexen | 2020-07-28 | 1 | -0/+35 |
|\ | | | | | equiv_induct: Fix up assumption for $equiv cells in -undef mode. | ||||
| * | equiv_induct: Fix up assumption for $equiv cells in -undef mode. | Marcelina Kościelnicka | 2020-07-27 | 1 | -0/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this fix, equiv_induct only assumed that one of the following is true: - defined value of A is equal to defined value of B - A is undefined This lets through valuations where A is defined, B is undefined, and the defined (meaningless) value of B happens to match the defined value of A. Instead, tighten this up to OR of the following: - defined value of A is equal to defined value of B, and B is not undefined - A is undefined | ||||
* | | intel_alm: direct M10K instantiation | Dan Ravensloft | 2020-07-27 | 1 | -0/+6 |
| | | | | | | | | This reverts commit a3a90f6377f251d3b6c5898eb1543f8832493bb8. | ||||
* | | intel_alm: increase abc9 -W | Dan Ravensloft | 2020-07-26 | 1 | -6/+6 |
| | | |||||
* | | Merge pull request #2299 from zachjs/arg-loop | clairexen | 2020-07-26 | 2 | -0/+45 |
|\ \ | |/ |/| | Avoid generating wires for function args which are constant | ||||
| * | Avoid generating wires for function args which are constant | Zachary Snow | 2020-07-24 | 2 | -0/+45 |
| | | |||||
* | | zinit: Refactor to use FfInitVals. | Marcelina Kościelnicka | 2020-07-24 | 1 | -2/+2 |
| | | |||||
* | | clk2fflogic: Support all FF types. | Marcelina Kościelnicka | 2020-07-24 | 19 | -124/+123 |
| | | |||||
* | | satgen: Add support for dffe, sdff, sdffe, sdffce cells. | Marcelina Kościelnicka | 2020-07-24 | 2 | -2/+21 |
|/ | |||||
* | Merge pull request #2285 from YosysHQ/mwk/techmap-cellname | clairexen | 2020-07-23 | 1 | -0/+41 |
|\ | | | | | techmap: Add _TECHMAP_CELLNAME_ special parameter. | ||||
| * | techmap: Add _TECHMAP_CELLNAME_ special parameter. | Marcelina Kościelnicka | 2020-07-21 | 1 | -0/+41 |
| | | | | | | | | | | | | | | This parameter will resolve to the name of the cell being mapped. The first user of this parameter will be synth_intel_alm's Quartus output, which requires a unique (and preferably descriptive) name passed as a cell parameter for the memory cells. | ||||
* | | intel_alm: add additional ABC9 timings | Dan Ravensloft | 2020-07-23 | 1 | -6/+4 |
|/ | |||||
* | Merge pull request #2238 from YosysHQ/mwk/dfflegalize-anlogic | Miodrag Milanović | 2020-07-16 | 1 | -12/+14 |
|\ | | | | | anlogic: Use dfflegalize. | ||||
| * | anlogic: Use dfflegalize. | Marcelina Kościelnicka | 2020-07-14 | 1 | -12/+14 |
| | | |||||
* | | Merge pull request #2257 from antmicro/fix-conflicts | clairexen | 2020-07-15 | 4 | -0/+49 |
|\ \ | | | | | | | Restore #2203 and #2244 and fix parser conflicts | ||||
| * | | Revert "Revert PRs #2203 and #2244." | Kamil Rakoczy | 2020-07-10 | 4 | -0/+49 |
| | | | | | | | | | | | | This reverts commit 9c120b89ace6c111aa4677616947d18d980b9c1a. | ||||
* | | | Revert "intel_alm: direct M10K instantiation" | Lofty | 2020-07-13 | 1 | -6/+0 |
| | | | | | | | | | | | | This reverts commit 09ecb9b2cf3ab76841d30712bf70dafc6d47ef67. | ||||
* | | | xilinx: Fix srl regression. | Marcelina Kościelnicka | 2020-07-12 | 1 | -0/+41 |
|/ / | | | | | | | | | | | | | Of standard yosys cells, xilinx_srl only works on $_DFF_?_ and $_DFFE_?P_, which get upgraded to $_SDFFE_?P?P_ by dfflegalize at the point where xilinx_srl is called for non-abc9. Fix this by running ff_map.v first, resulting in FDRE cells, which are handled correctly. | ||||
* | | Revert PRs #2203 and #2244. | whitequark | 2020-07-09 | 4 | -49/+0 |
| | | | | | | | | | | | | | | | | This reverts commit 7e83a51fc96495c558a31fc3ca6c1a5ba4764f15. This reverts commit b422f2e4d0b8d5bfa97913d6b9dee488b59fc405. This reverts commit 7cb56f34b06de666935fbda315ce7c7bd45048b3. This reverts commit 6f9be939bd7653b0bdcae93a1033a086a4561b68. This reverts commit 76a34dc5f3a60c89efeaa3378ca0e2700a8aebd2. | ||||
* | | dfflibmap: Refactor to use dfflegalize internally. | Marcelina Kościelnicka | 2020-07-09 | 4 | -1/+136 |
| | | |||||
* | | clkbufmap: improve input pad handling. | Marcelina Kościelnicka | 2020-07-09 | 1 | -0/+79 |
| | | | | | | | | | | | | - allow inserting only the input pad cell - do not insert the usual buffer if the input pad already acts as a buffer | ||||
* | | Merge pull request #2244 from antmicro/logic | clairexen | 2020-07-09 | 3 | -0/+21 |
|\ \ | | | | | | | Add logic type support to parameters | ||||
| * | | Add logic param and integer bad syntax tests | Kamil Rakoczy | 2020-07-06 | 3 | -0/+21 |
| | | | | | | | | | | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com> | ||||
* | | | clk2fflogic: Consistently treat async control signals as negative hold. | Marcelina Kościelnicka | 2020-07-09 | 7 | -31/+31 |
| | | | | | | | | | | | | | | | | | | | | | This fixes some dfflegalize equivalence checks, and breaks others — and I strongly suspect the others are due to bad support for multiple async inputs in `proc` (in particular, lack of proper support for dlatchsr and sketchy circuits on dffsr control inputs). | ||||
* | | | dfflegalize: Add special support for const-D latches. | Marcelina Kościelnicka | 2020-07-09 | 1 | -0/+53 |
| | | | | | | | | | | | | | | | | | | Those can be created by `opt_dff` when optimizing `$adff` with const clock, or with D == Q. Make dfflegalize do the opposite transform when such dlatches would be otherwise unimplementable. | ||||
* | | | gowin: Use dfflegalize. | Marcelina Kościelnicka | 2020-07-06 | 2 | -13/+8 |
|/ / | |||||
* | | intel_alm: direct M10K instantiation | Dan Ravensloft | 2020-07-05 | 1 | -0/+6 |
| | | |||||
* | | synth_gowin: ABC9 support | Dan Ravensloft | 2020-07-05 | 1 | -1/+5 |
| | | | | | | | | | | This adds ABC9 support for synth_gowin; drastically improving synthesis quality. | ||||
* | | intel_alm: add Cyclone 10 GX tests | Dan Ravensloft | 2020-07-05 | 11 | -2/+236 |
| | | |||||
* | | opt_expr: Fix crash on $mul optimization with more zeros removed than Y has. | Marcelina Kościelnicka | 2020-07-05 | 1 | -0/+16 |
| | | | | | | | | Fixes #2221. | ||||
* | | intel_alm: DSP inference | Dan Ravensloft | 2020-07-05 | 1 | -0/+23 |
| | | |||||
* | | synth_intel_alm: Use dfflegalize. | Marcelina Kościelnicka | 2020-07-04 | 1 | -1/+1 |
| | | |||||
* | | Improve MISTRAL_FF specify rules | Dan Ravensloft | 2020-07-04 | 1 | -1/+2 |
| | | | | | | | | Co-authored-by: Eddie Hung <eddie@fpgeh.com> | ||||
* | | tests: update fsm.ys resource count | Eddie Hung | 2020-07-04 | 1 | -4/+4 |
|/ | | | | | Suspect it is to do with map/set ordering in techmap; should be fixed by #1862? | ||||
* | Merge pull request #2186 from YosysHQ/mwk/dfflegalize | clairexen | 2020-07-02 | 17 | -0/+2957 |
|\ | | | | | Add dfflegalize pass. | ||||
| * | dfflegalize: Add tests. | Marcelina Kościelnicka | 2020-07-01 | 17 | -0/+2957 |
| | | |||||
* | | Merge pull request #2203 from antmicro/fix-grammar | clairexen | 2020-07-01 | 1 | -0/+28 |
|\ \ | | | | | | | Signed and macro grammar update | ||||
| * | | Add signed/unsigned tests | Kamil Rakoczy | 2020-06-26 | 1 | -0/+28 |
| | | | | | | | | | | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com> | ||||
* | | | Merge pull request #2179 from splhack/static-cast | clairexen | 2020-07-01 | 5 | -0/+80 |
|\ \ \ | | | | | | | | | Support SystemVerilog Static Cast | ||||
| * | | | static cast: add tests | Kazuki Sakamoto | 2020-06-19 | 5 | -0/+80 |
| | | | | |||||
* | | | | Allow constant function calls in for loops and generate if and case | Zachary Snow | 2020-06-29 | 2 | -0/+76 |
| |_|/ |/| | |