Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for SystemVerilog-style `define to Verilog frontend | Rupert Swarbrick | 2020-03-27 | 4 | -0/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Add test for abc9+mince issue | David Shah | 2020-03-20 | 1 | -0/+17 |
| | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | fsm_extract: Initialize celltypes with full design. | Marcin Kościelnicki | 2020-03-19 | 1 | -0/+33 |
| | | | | Fixes #1781. | ||||
* | Add test for `exec` command. | Alberto Gonzalez | 2020-03-16 | 1 | -0/+6 |
| | |||||
* | Merge pull request #1759 from zeldin/constant_with_comment_redux | Miodrag Milanović | 2020-03-14 | 2 | -0/+24 |
|\ | | | | | refixed parsing of constant with comment between size and value | ||||
| * | Add regression tests for new handling of comments in constants | Marcus Comstedt | 2020-03-14 | 2 | -0/+24 |
| | | |||||
* | | Merge pull request #1754 from boqwxp/precise_locations | Miodrag Milanović | 2020-03-14 | 1 | -0/+8 |
|\ \ | | | | | | | Set AST node source location in more parser rules. | ||||
| * | | verilog: add test | Eddie Hung | 2020-03-11 | 1 | -0/+8 |
| | | | |||||
* | | | Added back tests for logger | Miodrag Milanovic | 2020-03-13 | 4 | -0/+24 |
| |/ |/| | |||||
* | | Merge pull request #1721 from YosysHQ/dave/tribuf-unused | David Shah | 2020-03-10 | 1 | -0/+14 |
|\ \ | |/ |/| | deminout: Don't demote inouts with unused bits | ||||
| * | deminout: Don't demote inouts with unused bits | David Shah | 2020-03-04 | 1 | -0/+14 |
| | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | Merge pull request #1718 from boqwxp/precise_locations | Claire Wolf | 2020-03-03 | 1 | -2/+2 |
|\ \ | | | | | | | Closes #1717. Add more precise Verilog source location information to AST and RTLIL nodes. | ||||
| * | | Change attribute search value to specify precise location instead of simple ↵ | Alberto Gonzalez | 2020-02-24 | 1 | -2/+2 |
| |/ | | | | | | | line number. | ||||
* | | Merge pull request #1519 from YosysHQ/eddie/submod_po | Claire Wolf | 2020-03-03 | 1 | -0/+124 |
|\ \ | | | | | | | submod: several bugfixes | ||||
| * \ | Merge branch 'master' into eddie/submod_po | Eddie Hung | 2020-02-01 | 7 | -11/+98 |
| |\ \ | |||||
| * | | | Add a quick testcase for unknown modules as inout | Eddie Hung | 2019-12-09 | 1 | -2/+24 |
| | | | | |||||
* | | | | Merge pull request #1724 from YosysHQ/eddie/abc9_specify | Eddie Hung | 2020-03-02 | 2 | -19/+1 |
|\ \ \ \ | | | | | | | | | | | abc9: auto-generate *.lut/*.box files and arrival/required times from specify entries | ||||
| * | | | | Cleanup tests | Eddie Hung | 2020-02-27 | 2 | -19/+1 |
| | |_|/ | |/| | | |||||
* / | | | ast: fixes #1710; do not generate RTLIL for unreachable ternary | Eddie Hung | 2020-02-27 | 1 | -0/+30 |
|/ / / | |||||
* | | | clean: ignore specify-s inside cells when determining whether to keep | Eddie Hung | 2020-02-19 | 1 | -1/+20 |
| | | | |||||
* | | | verilog: ignore ranges too without -specify | Eddie Hung | 2020-02-13 | 1 | -0/+7 |
| | | | |||||
* | | | verilog: improve specify support when not in -specify mode | Eddie Hung | 2020-02-13 | 2 | -3/+1 |
| | | | |||||
* | | | verilog: ignore '&&&' when not in -specify mode | Eddie Hung | 2020-02-13 | 1 | -0/+6 |
| | | | |||||
* | | | specify: system timing checks to accept min:typ:max triple | Eddie Hung | 2020-02-13 | 1 | -0/+7 |
| | | | |||||
* | | | verilog: fix $specify3 check | Eddie Hung | 2020-02-13 | 1 | -0/+7 |
| | | | |||||
* | | | Merge pull request #1679 from thasti/delay-parsing | N. Engelhardt | 2020-02-13 | 1 | -0/+5 |
|\ \ \ | | | | | | | | | Fix crash on wire declaration with delay | ||||
| * | | | add testcase for #1614 | Stefan Biereigel | 2020-02-03 | 1 | -0/+5 |
| | |/ | |/| | |||||
* | | | sv: More tests for wildcard port connections | David Shah | 2020-02-02 | 1 | -0/+57 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | | hierarchy: Correct handling of wildcard port connections with default values | David Shah | 2020-02-02 | 1 | -0/+11 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | | sv: Add tests for wildcard port connections | David Shah | 2020-02-02 | 1 | -0/+56 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | | Merge pull request #1647 from YosysHQ/dave/sprintf | David Shah | 2020-02-02 | 1 | -0/+12 |
|\ \ \ | |/ / |/| | | ast: Add support for $sformatf system function | ||||
| * | | ast: Add support for $sformatf system function | David Shah | 2020-01-19 | 1 | -0/+12 |
| | | | | | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | | | Add "help -all" and "help -celltypes" sanity test | Eddie Hung | 2020-01-28 | 1 | -0/+2 |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/master' into eddie/abc9_refactor | Eddie Hung | 2020-01-21 | 1 | -11/+0 |
|\| | | |||||
| * | | xilinx_dsp: another typo; move xilinx specific test | Eddie Hung | 2020-01-17 | 1 | -11/+0 |
| | | | |||||
* | | | write_xaiger: fix for (* keep *) on flop output | Eddie Hung | 2020-01-21 | 1 | -0/+15 |
|/ / | |||||
* | | autoname: add testcase with $-prefix-ed port | Eddie Hung | 2020-01-14 | 1 | -0/+19 |
| | | |||||
* | | Remove submod changes | Eddie Hung | 2019-12-30 | 1 | -102/+0 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into xaig_dff | Eddie Hung | 2019-12-20 | 1 | -0/+34 |
|\ \ | |||||
| * \ | Merge pull request #1569 from YosysHQ/eddie/fix_1531 | Eddie Hung | 2019-12-19 | 1 | -0/+34 |
| |\ \ | | | | | | | | | verilog: preserve size of $genval$-s in for loops | ||||
| | * | | Add testcase | Eddie Hung | 2019-12-11 | 1 | -0/+34 |
| | | | | |||||
* | | | | Merge remote-tracking branch 'origin/master' into xaig_dff | Eddie Hung | 2019-12-19 | 1 | -0/+5 |
|\| | | | |||||
| * | | | add assert option to scratchpad command | N. Engelhardt | 2019-12-16 | 2 | -14/+5 |
| | | | | |||||
| * | | | add test and make help message more verbose | N. Engelhardt | 2019-12-12 | 1 | -0/+14 |
| |/ / | |||||
* | | | Merge remote-tracking branch 'origin/eddie/submod_po' into xaig_dff | Eddie Hung | 2019-11-27 | 1 | -0/+31 |
|\ \ \ | | |/ | |/| | |||||
| * | | Add multiple driver testcase | Eddie Hung | 2019-11-27 | 1 | -0/+31 |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/eddie/submod_po' into xaig_dff | Eddie Hung | 2019-11-27 | 1 | -2/+23 |
|\| | | |||||
| * | | Revert "submod to bitty rather bussy, for bussy wires used as input and output" | Eddie Hung | 2019-11-27 | 1 | -2/+5 |
| | | | | | | | | | | | | This reverts commit cba3073026711e7683c46ba091c56a5c5a041a45. | ||||
| * | | Fix wire width | Eddie Hung | 2019-11-26 | 1 | -2/+2 |
| | | | |||||
| * | | Add testcase where \init is copied | Eddie Hung | 2019-11-25 | 1 | -0/+18 |
| | | |