Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added test for dynamic indexing within struct members | Dag Lem | 2023-03-08 | 2 | -0/+71 |
| | |||||
* | Index struct/union members within corresponding wire chunks | Dag Lem | 2023-03-05 | 1 | -1/+2 |
| | | | | | This guards against access to bits outside of struct/union members via dynamic indexing. | ||||
* | Out of bounds checking for struct/union members | Dag Lem | 2023-02-19 | 1 | -0/+3 |
| | | | | Currently, only constant indices are checked. | ||||
* | Corrected tests for data and array queries on struct/union item expressions | Dag Lem | 2023-02-15 | 1 | -80/+85 |
| | |||||
* | Support for data and array queries on struct/union item expressions | Dag Lem | 2023-02-15 | 1 | -0/+107 |
| | | | | For now, $bits, $left, $right, $low, $high, and $size are supported. | ||||
* | Handle range offsets in packed arrays within packed structs | Dag Lem | 2023-02-05 | 1 | -0/+20 |
| | | | | | | | This brings the metadata for packed arrays in packed structs in line with the metadata for unpacked arrays, and correctly handles the case when both lsb and msb in an address range are non-zero. | ||||
* | Resolve struct member package types | Dag Lem | 2023-01-29 | 1 | -0/+4 |
| | |||||
* | Handle struct members of union type (#3641) | Dag Lem | 2023-01-29 | 1 | -0/+16 |
| | |||||
* | Support for packed multidimensional arrays within packed structs | Dag Lem | 2022-12-03 | 1 | -0/+60 |
| | |||||
* | Tests for unpacked arrays in packed structs are for the Yosys frontend only | Dag Lem | 2022-11-23 | 1 | -0/+4 |
| | |||||
* | Support for swapped ranges in second array dimension | Dag Lem | 2022-11-23 | 1 | -0/+42 |
| | |||||
* | Support for arrays with swapped ranges within structs | Dag Lem | 2022-11-12 | 1 | -1/+86 |
| | | | | | | This also corrects the implementation of C type arrays within structs. Fixes #3550 | ||||
* | sv: improve support for wire and var with user-defined types | Brett Witherspoon | 2021-08-12 | 2 | -0/+108 |
| | | | | | | | | | | | | | | | | | - User-defined types must be data types. Using a net type (e.g. wire) is a syntax error. - User-defined types without a net type are always variables (i.e. logic). - Nets and variables can now be explicitly declared using user-defined types: typedef logic [1:0] W; wire W w; typedef logic [1:0] V; var V v; Fixes #2846 | ||||
* | Add v2 memory cells. | Marcelina KoĆcielnicka | 2021-08-11 | 3 | -3/+3 |
| | |||||
* | verilog: check entire user type stack for type definition | Xiretza | 2021-03-21 | 1 | -0/+10 |
| | |||||
* | Add typedef input/output test | Kamil Rakoczy | 2021-01-18 | 2 | -0/+117 |
| | | | | Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com> | ||||
* | tests: Centralize test collection and Makefile generation | Xiretza | 2020-09-21 | 1 | -19/+3 |
| | |||||
* | Merge pull request #2329 from antmicro/arrays-fix-multirange-size | clairexen | 2020-09-17 | 1 | -0/+16 |
|\ | | | | | Rewrite multirange arrays sizes [n] as [n-1:0] | ||||
| * | Test multirange (unpacked) arrays size | Lukasz Dalek | 2020-08-03 | 1 | -0/+16 |
| | | | | | | | | Signed-off-by: Lukasz Dalek <ldalek@antmicro.com> | ||||
* | | Merge pull request #2330 from antmicro/arrays-fix-multirange-access | clairexen | 2020-09-17 | 1 | -0/+12 |
|\ \ | | | | | | | Fix unsupported subarray access detection | ||||
| * | | Add test for subarray access on multidimensional arrays | Lukasz Dalek | 2020-08-03 | 1 | -0/+12 |
| |/ | | | | | | | Signed-off-by: Lukasz Dalek <ldalek@antmicro.com> | ||||
* | | Merge pull request #2122 from PeterCrozier/struct_array2 | clairexen | 2020-08-19 | 1 | -1/+21 |
|\ \ | |/ |/| | Support 2D bit arrays in structures. Optimise array indexing. | ||||
| * | include both power-of-two and non-power-of-two testcases | N. Engelhardt | 2020-08-18 | 1 | -6/+23 |
| | | |||||
| * | Support 2D bit arrays in structures. Optimise array indexing. | Peter Crozier | 2020-06-08 | 1 | -2/+5 |
| | | |||||
* | | static cast: add tests | Kazuki Sakamoto | 2020-06-19 | 5 | -0/+80 |
|/ | |||||
* | Support packed arrays in struct/union. | Peter Crozier | 2020-06-07 | 1 | -0/+22 |
| | |||||
* | Merge branch 'master' into struct | Peter Crozier | 2020-06-03 | 2 | -0/+9 |
|\ | |||||
| * | ast/simplify: don't bitblast async ROMs declared as `logic`. | whitequark | 2020-05-05 | 2 | -0/+9 |
| | | | | | | | | Fixes #2020. | ||||
* | | Allow structs within structs. | Peter Crozier | 2020-05-12 | 2 | -0/+20 |
| | | |||||
* | | Generalise structs and add support for packed unions. | Peter Crozier | 2020-05-12 | 1 | -0/+61 |
| | | |||||
* | | Implement SV structs. | Peter Crozier | 2020-05-08 | 2 | -0/+81 |
|/ | |||||
* | support using previously declared types/localparams/params in package | Jeff Wang | 2020-04-07 | 1 | -3/+8 |
| | | | | | | | (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) | ||||
* | Support module/package/interface/block scope for typedef names. | Peter Crozier | 2020-03-23 | 1 | -0/+7 |
| | |||||
* | Revert typedef tests to standard grammar. | Peter | 2020-03-22 | 7 | -25/+26 |
| | |||||
* | add attributes for enumerated values in ilang | Jeff Wang | 2020-02-17 | 2 | -3/+3 |
| | | | | | | - 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 | ||||
* | scoped enum tests | Jeff Wang | 2020-01-16 | 1 | -1/+13 |
| | |||||
* | enum in package test | Jeff Wang | 2020-01-16 | 1 | -0/+3 |
| | |||||
* | simple enum test | Jeff Wang | 2020-01-16 | 2 | -0/+52 |
| | |||||
* | Use "(id)" instead of "id" for types as temporary hack | Clifford Wolf | 2019-10-14 | 8 | -19/+19 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | sv: Improve tests | David Shah | 2019-10-03 | 8 | -7/+30 |
| | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | sv: Add test scripts for typedefs | David Shah | 2019-10-03 | 4 | -0/+30 |
| | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | sv: Add support for memories of a typedef | David Shah | 2019-10-03 | 1 | -0/+10 |
| | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | sv: Add support for memory typedefs | David Shah | 2019-10-03 | 1 | -0/+10 |
| | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | sv: Fix typedefs in packages | David Shah | 2019-10-03 | 1 | -0/+11 |
| | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | sv: Fix typedef parameters | David Shah | 2019-10-03 | 2 | -3/+22 |
| | | | | Signed-off-by: David Shah <dave@ds0.me> | ||||
* | sv: Switch parser to glr, prep for typedef | David Shah | 2019-10-03 | 1 | -0/+22 |
Signed-off-by: David Shah <dave@ds0.me> |