aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #2257 from antmicro/fix-conflictsclairexen2020-07-154-0/+49
|\ \ \ | | | | | | | | Restore #2203 and #2244 and fix parser conflicts
| * | | Revert "Revert PRs #2203 and #2244."Kamil Rakoczy2020-07-104-0/+49
| | | | | | | | | | | | | | | | This reverts commit 9c120b89ace6c111aa4677616947d18d980b9c1a.
* | | | Revert "intel_alm: direct M10K instantiation"Lofty2020-07-131-6/+0
| | | | | | | | | | | | | | | | This reverts commit 09ecb9b2cf3ab76841d30712bf70dafc6d47ef67.
* | | | xilinx: Fix srl regression.Marcelina Kościelnicka2020-07-121-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.whitequark2020-07-094-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ścielnicka2020-07-094-1/+136
| | |
* | | clkbufmap: improve input pad handling.Marcelina Kościelnicka2020-07-091-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/logicclairexen2020-07-093-0/+21
|\ \ \ | | | | | | | | Add logic type support to parameters
| * | | Add logic param and integer bad syntax testsKamil Rakoczy2020-07-063-0/+21
| | | | | | | | | | | | | | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
* | | | clk2fflogic: Consistently treat async control signals as negative hold.Marcelina Kościelnicka2020-07-097-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ścielnicka2020-07-091-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ścielnicka2020-07-062-13/+8
|/ / /
* | | intel_alm: direct M10K instantiationDan Ravensloft2020-07-051-0/+6
| | |
* | | synth_gowin: ABC9 supportDan Ravensloft2020-07-051-1/+5
| | | | | | | | | | | | | | | This adds ABC9 support for synth_gowin; drastically improving synthesis quality.
* | | intel_alm: add Cyclone 10 GX testsDan Ravensloft2020-07-0511-2/+236
| | |
* | | opt_expr: Fix crash on $mul optimization with more zeros removed than Y has.Marcelina Kościelnicka2020-07-051-0/+16
| | | | | | | | | | | | Fixes #2221.
* | | intel_alm: DSP inferenceDan Ravensloft2020-07-051-0/+23
| | |
* | | synth_intel_alm: Use dfflegalize.Marcelina Kościelnicka2020-07-041-1/+1
| | |
* | | Improve MISTRAL_FF specify rulesDan Ravensloft2020-07-041-1/+2
| | | | | | | | | | | | Co-authored-by: Eddie Hung <eddie@fpgeh.com>
* | | tests: update fsm.ys resource countEddie Hung2020-07-041-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/dfflegalizeclairexen2020-07-0217-0/+2957
|\ \ | | | | | | Add dfflegalize pass.
| * | dfflegalize: Add tests.Marcelina Kościelnicka2020-07-0117-0/+2957
| | |
* | | Merge pull request #2203 from antmicro/fix-grammarclairexen2020-07-011-0/+28
|\ \ \ | | | | | | | | Signed and macro grammar update
| * | | Add signed/unsigned testsKamil Rakoczy2020-06-261-0/+28
| | | | | | | | | | | | | | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
* | | | Merge pull request #2179 from splhack/static-castclairexen2020-07-015-0/+80
|\ \ \ \ | | | | | | | | | | Support SystemVerilog Static Cast
| * | | | static cast: add testsKazuki Sakamoto2020-06-195-0/+80
| | | | |
* | | | | Allow constant function calls in for loops and generate if and caseZachary Snow2020-06-292-0/+76
| |_|/ / |/| | |
* | | | Add sub-assign and and-assign testsKamil Rakoczy2020-06-251-0/+34
| | | | | | | | | | | | | | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
* | | | Move combined assign tests to single fileKamil Rakoczy2020-06-254-45/+49
| | | | | | | | | | | | | | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
* | | | Add xor-assignment testKamil Rakoczy2020-06-241-0/+15
| | | | | | | | | | | | | | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
* | | | Add or-assignment and plus-assignment testsKamil Rakoczy2020-06-242-0/+30
| |/ / |/| | | | | | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
* | | Update dff2dffe, dff2dffs, zinit to new FF types.Marcelina Kościelnicka2020-06-232-76/+76
|/ /
* | Use C++11 final/override keywords.whitequark2020-06-181-1/+1
| |
* | intel_alm: fix DFFE matchingDan Ravensloft2020-06-112-4/+4
| |
* | Fix tests/opt/opt_rmdffClaire Wolf2020-06-092-22/+29
|/ | | | | | This only passed before because "prep" was also running opt_rmdff Signed-off-by: Claire Wolf <claire@symbioticeda.com>
* Support packed arrays in struct/union.Peter Crozier2020-06-071-0/+22
|
* Add missing .gitignore fileClaire Wolf2020-06-041-0/+2
| | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com>
* Merge pull request #2041 from PeterCrozier/structclairexen2020-06-043-0/+162
|\ | | | | Implementation of SV structs.
| * Merge branch 'master' into structPeter Crozier2020-06-0336-140/+852
| |\
| * | Allow structs within structs.Peter Crozier2020-05-122-0/+20
| | |
| * | Generalise structs and add support for packed unions.Peter Crozier2020-05-121-0/+61
| | |
| * | Implement SV structs.Peter Crozier2020-05-082-0/+81
| | |
* | | Merge pull request #2077 from YosysHQ/eddie/abc9_dff_improveEddie Hung2020-06-042-5/+55
|\ \ \ | | | | | | | | abc9: -dff improvements
| * | | abc9_ops: update messaging (credit to @Xiretza for spotting)Eddie Hung2020-05-301-4/+4
| | | |
| * | | abc9_ops: -reintegrate use SigMap to remove (* init *) from $_DFF_[NP]_Eddie Hung2020-05-291-1/+2
| | | |
| * | | tests: add test for abc9 -dff removing a redundant flop entirelyEddie Hung2020-05-251-0/+15
| | | |
| * | | tests: add testcase for abc9 -dff preserving flop namesEddie Hung2020-05-251-0/+34
| | | |
* | | | Merge pull request #2082 from YosysHQ/eddie/abc9_scc_fixesEddie Hung2020-06-031-0/+13
|\ \ \ \ | |_|_|/ |/| | | abc9: fixes around handling combinatorial loops
| * | | tests: tidy up testcaseEddie Hung2020-06-031-3/+0
| | | |
| * | | tests: add ecp5 latch testcase with -abc9Eddie Hung2020-05-251-0/+16
| | | |