standardize pattern conversion

This commit is contained in:
Zachary Snow
2020-07-21 18:05:27 -06:00
parent ed25534441
commit 5ad8de9ef7
3 changed files with 68 additions and 52 deletions
+16
View File
@@ -0,0 +1,16 @@
package PKG;
typedef struct packed {
logic f;
} foo_t;
endpackage
module top;
typedef struct packed {
PKG::foo_t f;
} local_t;
local_t w[0:1];
initial begin
w <= '{default: 0};
$display("%b", w);
end
endmodule