Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | verilog: Fix write to deleted object | David Shah | 2020-04-12 | 1 | -1/+0 | |
|/ | | | | Signed-off-by: David Shah <dave@ds0.me> | |||||
* | Merge pull request #1767 from YosysHQ/eddie/idstrings | Eddie Hung | 2020-04-02 | 1 | -27/+27 | |
|\ | | | | | IdString: use more ID::*, make them easier to use, speed up IdString::in() | |||||
| * | kernel: big fat patch to use more ID::*, otherwise ID(*) | Eddie Hung | 2020-04-02 | 1 | -5/+5 | |
| | | ||||||
| * | kernel: use more ID::* | Eddie Hung | 2020-04-02 | 1 | -22/+22 | |
| | | ||||||
* | | Merge pull request #1846 from dh73/ast_fe | Claire Wolf | 2020-04-02 | 1 | -0/+3 | |
|\ \ | |/ |/| | Adding error message for when size (width) of number literal is zero | |||||
| * | Replacing log_error for log_file_error due consistency | Diego H | 2020-03-31 | 1 | -2/+1 | |
| | | ||||||
| * | Adding error message for when size (width) of number literal is zero | Diego H | 2020-03-30 | 1 | -0/+4 | |
| | | ||||||
* | | verilog: Add location info for generate constructs | David Shah | 2020-04-01 | 1 | -0/+6 | |
|/ | | | | Signed-off-by: David Shah <dave@ds0.me> | |||||
* | Merge pull request #1811 from PeterCrozier/typedef_scope | N. Engelhardt | 2020-03-30 | 4 | -41/+81 | |
|\ | | | | | 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 | 4 | -20/+56 | |
| | | ||||||
* | | Add support for SystemVerilog-style `define to Verilog frontend | Rupert Swarbrick | 2020-03-27 | 4 | -149/+578 | |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | Build pkg_user_types before parsing in case of changes in the design. | Peter Crozier | 2020-03-22 | 1 | -6/+3 | |
| | ||||||
* | Clear pkg_user_types if no packages following a 'design -reset-vlog'. | Peter | 2020-03-22 | 2 | -0/+5 | |
| | ||||||
* | Parser changes to support typedef. | Peter | 2020-03-22 | 4 | -10/+88 | |
| | ||||||
* | Merge pull request #1787 from YosysHQ/mmicko/lexer_deps | Miodrag Milanović | 2020-03-19 | 1 | -1/+1 | |
|\ | | | | | Add dependency to verilog_lexer.cc | |||||
| * | Add one mode dependency | Miodrag Milanovic | 2020-03-19 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #1775 from huaixv/asserts_locations | N. Engelhardt | 2020-03-19 | 1 | -7/+30 | |
|\ \ | |/ |/| | Add precise locations for asserts | |||||
| * | Add precise locations for asserts | huaixv | 2020-03-19 | 1 | -7/+30 | |
| | | ||||||
* | | Add AST node source location information in a couple more parser rules. | Alberto Gonzalez | 2020-03-17 | 1 | -0/+2 | |
|/ | ||||||
* | Merge pull request #1759 from zeldin/constant_with_comment_redux | Miodrag Milanović | 2020-03-14 | 2 | -19/+43 | |
|\ | | | | | refixed parsing of constant with comment between size and value | |||||
| * | refixed parsing of constant with comment between size and value | Marcus Comstedt | 2020-03-11 | 2 | -19/+43 | |
| | | | | | | | | | | | | The three parts of a based constant (size, base, digits) are now three separate tokens, allowing the linear whitespace (including comments) between them to be treated as normal inter-token whitespace. | |||||
* | | verilog: also set location for simple_behavioral_stmt | Eddie Hung | 2020-03-10 | 1 | -0/+4 | |
| | | ||||||
* | | Set AST source locations in more parser rules. | Alberto Gonzalez | 2020-03-10 | 1 | -2/+49 | |
|/ | ||||||
* | Fix partsel expr bit width handling and add test case | Claire Wolf | 2020-03-08 | 1 | -4/+6 | |
| | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com> | |||||
* | Fix bison warning for "pure-parser" option | Claire Wolf | 2020-03-03 | 1 | -1/+1 | |
| | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com> | |||||
* | Closes #1717. Add more precise Verilog source location information to AST ↵ | Alberto Gonzalez | 2020-02-23 | 4 | -32/+131 | |
| | | | | and RTLIL nodes. | |||||
* | Merge pull request #1703 from YosysHQ/eddie/specify_improve | Eddie Hung | 2020-02-21 | 2 | -29/+81 | |
|\ | | | | | Improve specify parser | |||||
| * | verilog: add support for more delays than just rise/fall | Eddie Hung | 2020-02-19 | 1 | -1/+40 | |
| | | ||||||
| * | verilog: ignore ranges too without -specify | Eddie Hung | 2020-02-13 | 1 | -1/+2 | |
| | | ||||||
| * | verilog: improve specify support when not in -specify mode | Eddie Hung | 2020-02-13 | 1 | -13/+7 | |
| | | ||||||
| * | verilog: ignore '&&&' when not in -specify mode | Eddie Hung | 2020-02-13 | 2 | -5/+6 | |
| | | ||||||
| * | specify: system timing checks to accept min:typ:max triple | Eddie Hung | 2020-02-13 | 1 | -12/+29 | |
| | | ||||||
* | | Merge pull request #1642 from jjj11x/jjj11x/sv-enum | Claire Wolf | 2020-02-20 | 1 | -2/+104 | |
|\ \ | |/ |/| | Enum support | |||||
| * | add attributes for enumerated values in ilang | Jeff Wang | 2020-02-17 | 1 | -1/+8 | |
| | | | | | | | | | | | | - information also useful for strongly-typed enums (not implemented) - resolves enum values in ilang part of #1594 - still need to output enums to VCD (or better yet FST) files | |||||
| * | lexer doesn't seem to return TOK_REG for logic anymore | Jeff Wang | 2020-01-16 | 1 | -3/+4 | |
| | | ||||||
| * | allow enum typedefs | Jeff Wang | 2020-01-16 | 1 | -1/+6 | |
| | | ||||||
| * | partial rebase of PeterCrozier's enum work onto current master | Jeff Wang | 2020-01-16 | 1 | -1/+90 | |
| | | | | | | | | | | | | | | | | | | | | | | I tried to keep only the enum-related changes, and minimize the diff. (The original commit also had a lot of work done to get typedefs working, but yosys has diverged quite a bit since the 2018-03-09 commit, with a new typedef implementation.) I did not include the import related changes either. Original commit: "Initial implementation of enum, typedef, import. Still a WIP." https://github.com/PeterCrozier/yosys/commit/881833aa738e7404987646ea8076284e911fce3f | |||||
* | | Merge pull request #1679 from thasti/delay-parsing | N. Engelhardt | 2020-02-13 | 1 | -2/+2 | |
|\ \ | | | | | | | Fix crash on wire declaration with delay | |||||
| * | | correct wire declaration grammar for #1614 | Stefan Biereigel | 2020-02-03 | 1 | -2/+2 | |
| |/ | ||||||
* | | sv: Improve handling of wildcard port connections | David Shah | 2020-02-02 | 2 | -4/+6 | |
| | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | |||||
* | | hierarchy: Resolve SV wildcard port connections | David Shah | 2020-02-02 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: David Shah <dave@ds0.me> | |||||
* | | sv: Add lexing and parsing of .* (wildcard port conns) | David Shah | 2020-02-02 | 2 | -1/+6 | |
|/ | | | | Signed-off-by: David Shah <dave@ds0.me> | |||||
* | Fixed some missing "verilog_" in documentation | Rodrigo Alejandro Melo | 2019-12-13 | 2 | -2/+2 | |
| | ||||||
* | kernel: require \B_SIGNED=0 on $shl, $sshl, $shr, $sshr. | whitequark | 2019-12-04 | 1 | -5/+5 | |
| | | | | | | | Before this commit, these cells would accept any \B_SIGNED and in case of \B_SIGNED=1, would still treat the \B input as unsigned. Also fix the Verilog frontend to never emit such constructs. | |||||
* | sv: Correct parsing of always_comb, always_ff and always_latch | David Shah | 2019-11-21 | 2 | -5/+40 | |
| | | | | Signed-off-by: David Shah <dave@ds0.me> | |||||
* | Add check for valid macro names in macro definitions | Clifford Wolf | 2019-11-07 | 1 | -7/+11 | |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | Add "verilog_defines -list" and "verilog_defines -reset" | Clifford Wolf | 2019-10-21 | 1 | -0/+16 | |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | |||||
* | Use "(id)" instead of "id" for types as temporary hack | Clifford Wolf | 2019-10-14 | 1 | -11/+69 | |
|\ | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> |