Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #3206 from YosysHQ/micko/quote_remove | Miodrag Milanović | 2022-03-04 | 1 | -1/+4 |
|\ | | | | | Remove quotes if any from attribute | ||||
| * | Remove quotes if any from attribute | Miodrag Milanovic | 2022-02-16 | 1 | -1/+4 |
| | | |||||
* | | fix handling of escaped chars in json backend and frontend | N. Engelhardt | 2022-02-18 | 1 | -3/+31 |
|/ | |||||
* | verilog: support for time scale delay values | Zachary Snow | 2022-02-14 | 2 | -4/+16 |
| | |||||
* | Fix access to whole sub-structs (#3086) | Kamil Rakoczy | 2022-02-14 | 2 | -6/+18 |
| | | | | | | * Add support for accessing whole struct * Update tests Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com> | ||||
* | verilog: fix dynamic dynamic range asgn elab | Zachary Snow | 2022-02-11 | 1 | -17/+34 |
| | |||||
* | verilog: fix const func eval with upto variables | Zachary Snow | 2022-02-11 | 2 | -3/+11 |
| | |||||
* | Merge pull request #3164 from zachjs/fix-ast-warn | Miodrag Milanović | 2022-02-11 | 1 | -1/+1 |
|\ | | | | | fix dumpAst() compilation warning | ||||
| * | fix dumpAst() compilation warning | Zachary Snow | 2022-01-18 | 1 | -1/+1 |
| | | |||||
* | | Add ability to override verilog mode for verific -f command | Miodrag Milanovic | 2022-02-09 | 1 | -2/+44 |
| | | |||||
* | | Use bmux for NTO1MUX | Miodrag Milanovic | 2022-02-02 | 1 | -16/+2 |
|/ | |||||
* | sv: auto add nosync to certain always_comb local vars | Zachary Snow | 2022-01-07 | 1 | -0/+127 |
| | | | | | If a local variable is always assigned before it is used, then adding nosync prevents latches from being needlessly generated. | ||||
* | sv: fix size cast internal expression extension | Zachary Snow | 2022-01-07 | 1 | -2/+9 |
| | |||||
* | sv: fix size cast clipping expression width | Zachary Snow | 2022-01-03 | 1 | -1/+2 |
| | |||||
* | fix width detection of array querying function in case and case item expressions | Zachary Snow | 2021-12-17 | 2 | -2/+5 |
| | | | | | I also removed the unnecessary shadowing of `width_hint` and `sign_hint` in the corresponding case in `simplify()`. | ||||
* | preprocessor: do not destroy double slash escaped identifiers | Thomas Sailer | 2021-12-15 | 1 | -0/+10 |
| | | | | | | | | | | | The preprocessor currently destroys double slash containing escaped identifiers (for example \a//b ). This is due to next_token trying to convert single line comments (//) into /* */ comments. This then leads to an unintuitive error message like this: ERROR: syntax error, unexpected '*' This patch fixes the error by recognizing escaped identifiers and returning them as single token. It also adds a testcase. | ||||
* | Add YOSYS to the implicitly defined verilog macros in verific | Claire Xenia Wolf | 2021-12-13 | 1 | -1/+2 |
| | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | Merge pull request #3102 from YosysHQ/claire/enumxz | Miodrag Milanović | 2021-12-10 | 1 | -1/+1 |
|\ | | | | | Fix verific import of enum values with x and/or z | ||||
| * | Fix verific import of enum values with x and/or z | Claire Xenia Wolf | 2021-12-10 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | | Update verific.cc | Claire Xen | 2021-12-10 | 1 | -4/+7 |
| | | | | | | Ad-hoc fixes/improvements | ||||
* | | If direction NONE use that from first bit | Miodrag Milanovic | 2021-12-08 | 1 | -0/+7 |
|/ | |||||
* | Make sure cell names are unique for wide operators | Miodrag Milanovic | 2021-12-03 | 1 | -2/+2 |
| | |||||
* | Support parameters using struct as a wiretype (#3050) | Kamil Rakoczy | 2021-11-16 | 1 | -7/+23 |
| | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com> | ||||
* | No need to alocate more memory than used | Miodrag Milanovic | 2021-11-10 | 1 | -1/+0 |
| | |||||
* | genrtlil: Fix displaying debug info in packages | Kamil Rakoczy | 2021-11-10 | 1 | -1/+2 |
| | | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com> | ||||
* | Add "verific -cfg" command | Claire Xenia Wolf | 2021-11-01 | 1 | -2/+75 |
| | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | Fix verific gclk handling for async-load FFs | Claire Xenia Wolf | 2021-10-31 | 1 | -12/+67 |
| | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | Enable async load dff emit by default in Verific | Miodrag Milanovic | 2021-10-27 | 1 | -1/+1 |
| | |||||
* | Revert "Compile option for enabling async load verific support" | Miodrag Milanovic | 2021-10-27 | 1 | -4/+1 |
| | | | | This reverts commit b8624ad2aef941776f5b4a08f66f8d43e70f8467. | ||||
* | verilog: use derived module info to elaborate cell connections | Zachary Snow | 2021-10-25 | 4 | -41/+291 |
| | | | | | | | | - Attempt to lookup a derived module if it potentially contains a port connection with elaboration ambiguities - Mark the cell if module has not yet been derived - This can be extended to implement automatic hierarchical port connections in a future change | ||||
* | Split out logic for reprocessing an AstModule | Rupert Swarbrick | 2021-10-25 | 2 | -24/+57 |
| | | | | | This will enable other features to use same core logic for replacing an existing AstModule with a newly elaborated version. | ||||
* | Compile option for enabling async load verific support | Miodrag Milanovic | 2021-10-25 | 1 | -1/+4 |
| | |||||
* | Fix verific.cc PRIM_DLATCH handling | Claire Xenia Wolf | 2021-10-21 | 1 | -1/+7 |
| | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | Initial Verific impoter support for {PRIM,WIDE_OPER}_DLATCH{,RS} | Claire Xenia Wolf | 2021-10-21 | 1 | -4/+55 |
| | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | Option to disable verific VHDL support | Miodrag Milanovic | 2021-10-20 | 2 | -11/+45 |
| | |||||
* | Support PRIM_BUFIF1 primitive | Miodrag Milanovic | 2021-10-14 | 1 | -2/+2 |
| | |||||
* | Merge pull request #3039 from YosysHQ/claire/verific_aldff | Claire Xen | 2021-10-11 | 2 | -1/+91 |
|\ | | | | | Add support for $aldff flip-flops to verific importer | ||||
| * | Add Verific adffe/dffsre/aldffe FIXMEs | Claire Xenia Wolf | 2021-10-11 | 1 | -0/+3 |
| | | | | | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
| * | Fixes and add comments for open FIXME items | Claire Xenia Wolf | 2021-10-08 | 1 | -1/+34 |
| | | | | | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
| * | Add support for $aldff flip-flops to verific importer | Claire Xenia Wolf | 2021-10-08 | 2 | -1/+55 |
| | | | | | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | | Import module attributes from Verific | Miodrag Milanovic | 2021-10-10 | 1 | -0/+1 |
|/ | |||||
* | verific set db_infer_set_reset_registers | Miodrag Milanovic | 2021-10-04 | 1 | -0/+1 |
| | |||||
* | Specify minimum bison version 3.0+ | Zachary Snow | 2021-10-01 | 2 | -0/+4 |
| | | | | | | | | | Yosys works with bison 3.0 (or newer), but not bison 2.7 (the previous release). Ideally, we would require "3" rather than "3.0" to give a better error message, but bison 2.3, which still ships with macOS, does not support major-only version requirements. With this change, building with an outdated bison yields: `frontends/rtlil/rtlil_parser.y:25.10-14: require bison 3.0, but have 2.3`. | ||||
* | Merge pull request #3014 from YosysHQ/claire/fix-vgtest | Claire Xen | 2021-09-24 | 1 | -0/+1 |
|\ | | | | | Fix "make vgtest" | ||||
| * | Fix TOK_ID memory leak in for_initialization | Zachary Snow | 2021-09-23 | 1 | -0/+1 |
| | | |||||
* | | sv: support wand and wor of data types | Zachary Snow | 2021-09-21 | 1 | -9/+12 |
| | | | | | | | | | | | | This enables the usage of declarations of wand or wor with a base type of logic, integer, or a typename. Note that declarations of nets with 2-state base types is still permitted, in violation of the spec. | ||||
* | | verilog: fix multiple AST_PREFIX scope resolution issues | Zachary Snow | 2021-09-21 | 2 | -4/+10 |
|/ | | | | | | | | - Root AST_PREFIX nodes are now subject to genblk expansion to allow them to refer to a locally-visible generate block - Part selects on AST_PREFIX member leafs can now refer to generate block items (previously would not resolve and raise an error) - Add source location information to AST_PREFIX nodes | ||||
* | verilog: Squash flex-triggered warning. | Marcelina Kościelnicka | 2021-09-13 | 1 | -0/+2 |
| | |||||
* | update required verific version | Miodrag Milanovic | 2021-09-02 | 1 | -1/+1 |
| | |||||
* | sv: support declaration in generate for initialization | Zachary Snow | 2021-08-31 | 1 | -1/+95 |
| | | | | | | | | This is accomplished by generating a unique name for the genvar, renaming references to the genvar only in the loop's initialization, guard, and incrementation, and finally adding a localparam inside the loop body with the original name so that the genvar can be shadowed as expected. |