Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Proper example code | Miodrag Milanovic | 2022-03-14 | 2 | -1/+3 |
| | |||||
* | intel_alm: M10K write-enable is negative-true | Lofty | 2022-03-09 | 1 | -1/+2 |
| | |||||
* | Merge pull request #3207 from nakengelhardt/json_escape_quotes | Miodrag Milanović | 2022-03-04 | 2 | -0/+15 |
|\ | | | | | fix handling of escaped chars in json backend and frontend (mostly) | ||||
| * | fix handling of escaped chars in json backend and frontend | N. Engelhardt | 2022-02-18 | 2 | -0/+15 |
| | | |||||
* | | test dlatchsr and adlatch | Miodrag Milanovic | 2022-02-16 | 4 | -4/+94 |
| | | |||||
* | | Added test cases | Miodrag Milanovic | 2022-02-16 | 38 | -0/+896 |
|/ | |||||
* | verilog: support for time scale delay values | Zachary Snow | 2022-02-14 | 1 | -0/+25 |
| | |||||
* | Fix access to whole sub-structs (#3086) | Kamil Rakoczy | 2022-02-14 | 4 | -5/+51 |
| | | | | | | * 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 | 2 | -0/+108 |
| | |||||
* | verilog: fix const func eval with upto variables | Zachary Snow | 2022-02-11 | 2 | -0/+84 |
| | |||||
* | gowin: Fix LUT RAM inference, add more models. | Marcelina Kościelnicka | 2022-02-09 | 1 | -3/+2 |
| | |||||
* | Merge pull request #3185 from YosysHQ/micko/co_sim | Miodrag Milanović | 2022-02-07 | 7 | -0/+953 |
|\ | | | | | Add co-simulation in sim pass | ||||
| * | bug fix and cleanups | Miodrag Milanovic | 2022-02-04 | 1 | -2/+2 |
| | | |||||
| * | Add test cases for co-simulation | Miodrag Milanovic | 2022-02-02 | 7 | -0/+953 |
| | | |||||
* | | opt_reduce: Add $bmux and $demux optimization patterns. | Marcelina Kościelnicka | 2022-01-30 | 2 | -0/+208 |
|/ | |||||
* | Merge pull request #3120 from Icenowy/anlogic-bram | Miodrag Milanović | 2022-01-19 | 2 | -1/+14 |
|\ | | | | | anlogic: support BRAM mapping | ||||
| * | anlogic: support BRAM mapping | Icenowy Zheng | 2021-12-17 | 2 | -1/+14 |
| | | | | | | | | | | | | | | | | | | | | | | Anlogic FPGAs all have two kinds of BRAMs, one is 9bit*1K when being true dual port (or 18bit*512 when simple dual port), the other is 16bit*2K. Supports mapping of these two kinds of BRAMs. 9Kbit BRAM in SDP mode and 32Kbit BRAM with 8bit width are not support yet. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> | ||||
* | | sv: auto add nosync to certain always_comb local vars | Zachary Snow | 2022-01-07 | 8 | -0/+135 |
| | | | | | | | | | | 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 | 2 | -0/+145 |
| | | |||||
* | | logger: fix unmatched expected warnings and errors | Zachary Snow | 2022-01-04 | 1 | -0/+42 |
| | | | | | | | | | | | | | | | | - Prevent unmatched expected error patterns from self-matching - Prevent infinite recursion on unmatched expected warnings - Always print the error message for unmatched error patterns - Add test coverage for all unmatched message types - Add test coverage for excess matched logs and warnings | ||||
* | | fix iverilog compatibility for new case expr tests | Zachary Snow | 2022-01-03 | 2 | -2/+2 |
| | | |||||
* | | fixup verilog doubleslash test | Zachary Snow | 2022-01-03 | 2 | -0/+3 |
| | | | | | | | | | | - add generated doubleslash.v to .gitignore - ensure backend verilog can be read again | ||||
* | | sv: fix size cast clipping expression width | Zachary Snow | 2022-01-03 | 1 | -0/+7 |
| | | |||||
* | | memory_share: Fix SAT-based sharing for wide ports. | Marcelina Kościelnicka | 2021-12-20 | 1 | -0/+34 |
| | | | | | | | | Fixes #3117. | ||||
* | | fix width detection of array querying function in case and case item expressions | Zachary Snow | 2021-12-17 | 2 | -0/+43 |
|/ | | | | | 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/+19 |
| | | | | | | | | | | | 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. | ||||
* | Fix the tests we just broke | Claire Xenia Wolf | 2021-12-10 | 6 | -10/+10 |
| | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | Add gitignore for gatemate | Miodrag Milanovic | 2021-12-03 | 1 | -0/+4 |
| | |||||
* | sta: very crude static timing analysis pass | Lofty | 2021-11-25 | 1 | -0/+81 |
| | | | | Co-authored-by: Eddie Hung <eddie@fpgeh.com> | ||||
* | Support parameters using struct as a wiretype (#3050) | Kamil Rakoczy | 2021-11-16 | 1 | -0/+51 |
| | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com> | ||||
* | synth_gatemate: Update pass | Patrick Urban | 2021-11-13 | 1 | -4/+8 |
| | | | | | | * remove `write_edif` and `write_blif` options * remove redundant `abc` call before muxcover * update style | ||||
* | synth_gatemate: Apply new test practice with assert-max | Patrick Urban | 2021-11-13 | 7 | -12/+12 |
| | |||||
* | synth_gatemate: Fix fsm test | Patrick Urban | 2021-11-13 | 1 | -2/+2 |
| | |||||
* | Allow initial blocks to be disabled during tests | Patrick Urban | 2021-11-13 | 6 | -4/+20 |
| | | | | Wrap initial blocks with a NO_INIT so that tests for archs without register initialization feature don't fail. | ||||
* | synth_gatemate: Initial implementation | Patrick Urban | 2021-11-13 | 14 | -0/+337 |
| | | | | Signed-off-by: Patrick Urban <patrick.urban@web.de> | ||||
* | iopadmap: Add native support for negative-polarity output enable. | Marcelina Kościelnicka | 2021-11-09 | 2 | -3/+3 |
| | |||||
* | dfflegalize: Add tests for aldff lowering. | Marcelina Kościelnicka | 2021-10-27 | 2 | -0/+240 |
| | |||||
* | dfflegalize: Add tests targetting aldff. | Marcelina Kościelnicka | 2021-10-27 | 7 | -7/+320 |
| | |||||
* | dfflegalize: Refactor, add aldff support. | Marcelina Kościelnicka | 2021-10-27 | 9 | -73/+46 |
| | |||||
* | verilog: use derived module info to elaborate cell connections | Zachary Snow | 2021-10-25 | 4 | -0/+79 |
| | | | | | | | | - 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 | ||||
* | extract_reduce: Refactor and fix input signal construction. | Marcelina Kościelnicka | 2021-10-21 | 1 | -0/+12 |
| | | | | Fixes #3047. | ||||
* | Fixes in vcdcd.pl for newer Perl versions | Claire Xenia Wolf | 2021-10-19 | 1 | -3/+3 |
| | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | Fix a regression from #3035. | Marcelina Kościelnicka | 2021-10-08 | 1 | -0/+21 |
| | |||||
* | FfData: some refactoring. | Marcelina Kościelnicka | 2021-10-07 | 2 | -5/+7 |
| | | | | | | | | | | - FfData now keeps track of the module and underlying cell, if any (so calling emit on FfData created from a cell will replace the existing cell) - FfData implementation is split off to its own .cc file for faster compilation - the "flip FF data sense by inserting inverters in front and after" functionality that zinit uses is moved onto FfData class and beefed up to have dffsr support, to support more use cases | ||||
* | Merge pull request #3014 from YosysHQ/claire/fix-vgtest | Claire Xen | 2021-09-24 | 40 | -79/+79 |
|\ | | | | | Fix "make vgtest" | ||||
| * | Fix "make vgtest" so it runs to the end (but now it fails ;) | Claire Xenia Wolf | 2021-09-23 | 40 | -79/+79 |
| | | | | | | | | Signed-off-by: Claire Xenia Wolf <claire@clairexen.net> | ||||
* | | sv: support wand and wor of data types | Zachary Snow | 2021-09-21 | 2 | -0/+39 |
| | | | | | | | | | | | | 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 | -0/+100 |
|/ | | | | | | | | - 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 | ||||
* | abc9: make re-entrant (#2993) | Eddie Hung | 2021-09-09 | 1 | -0/+20 |
| | | | | | | | | | * Add testcase * Cleanup some state at end of abc9 * Re-assign abc9_box_id from scratch * Suppress delete unless prep_bypass did something | ||||
* | abc9: holes module to instantiate cells with NEW_ID (#2992) | Eddie Hung | 2021-09-09 | 1 | -0/+14 |
| | | | | | * Add testcase * holes module to instantiate cells with NEW_ID |