Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge pull request #2005 from YosysHQ/claire/fix1990 | Claire Wolf | 2020-05-07 | 1 | -2/+2 | |
|\ \ | | | | | | | Add "nowrshmsk" attribute, fix shift-and-mask bit slice write for signed offset | |||||
| * | | Add AST_SELFSZ and improve handling of bit slices | Claire Wolf | 2020-05-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | Signed-off-by: Claire Wolf <claire@symbioticeda.com> | |||||
* | | | Merge pull request #2028 from zachjs/master | Eddie Hung | 2020-05-06 | 1 | -1/+6 | |
|\ \ \ | |_|/ |/| | | verilog: allow null gen-if then block | |||||
| * | | verilog: allow null gen-if then block | Zachary Snow | 2020-05-06 | 1 | -1/+6 | |
| |/ | ||||||
* | | Merge pull request #2025 from YosysHQ/eddie/frontend_cleanup | Eddie Hung | 2020-05-05 | 3 | -15/+15 | |
|\ \ | | | | | | | frontend: cleanup to use more ID::*, more dict<> instead of map<> | |||||
| * | | frontend: cleanup to use more ID::*, more dict<> instead of map<> | Eddie Hung | 2020-05-04 | 3 | -15/+15 | |
| |/ | ||||||
* | | Merge pull request #2024 from YosysHQ/eddie/primitive_src | Eddie Hung | 2020-05-05 | 1 | -1/+3 | |
|\ \ | | | | | | | verilog: set src attribute for primitives | |||||
| * | | verilog: set src attribute for primitives | Eddie Hung | 2020-05-04 | 1 | -1/+3 | |
| |/ | ||||||
* / | verilog: fix specify src attribute | Eddie Hung | 2020-05-04 | 1 | -18/+20 | |
|/ | ||||||
* | Set Verilog source location for explicit blocks (`begin` ... `end`). | Alberto Gonzalez | 2020-04-17 | 1 | -0/+1 | |
| | ||||||
* | Add Verilog source location information to `AST_POSEDGE` and `AST_NEGEDGE` ↵ | Alberto Gonzalez | 2020-04-17 | 1 | -0/+2 | |
| | | | | nodes. | |||||
* | Add location information to `AST_CONSTANT` nodes. | Alberto Gonzalez | 2020-04-16 | 1 | -0/+3 | |
| | ||||||
* | Merge pull request #1879 from jjj11x/jjj11x/package_decl | whitequark | 2020-04-14 | 1 | -1/+2 | |
|\ | | | | | support using previously declared types/localparams/parameters in package | |||||
| * | support using previously declared types/localparams/params in package | Jeff Wang | 2020-04-07 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | (parameters in systemverilog packages can't actually be overridden, so allowing parameters in addition to localparams doesn't actually add any new functionality, but it's useful to be able to use the parameter keyword also) | |||||
* | | 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 |