revised struct pattern representation

- pattern keys now represented as TypeOrExpr
- support for simple integer struct pattern keys
This commit is contained in:
Zachary Snow
2021-06-20 15:32:12 -04:00
parent 6743725cca
commit dbbf71c65a
13 changed files with 166 additions and 48 deletions
+6
View File
@@ -0,0 +1,6 @@
// pattern: pattern index 1'bx is not an integer
module top;
struct packed {
logic x;
} s = '{ 1'bx: 1 };
endmodule