support structs of integers

This commit is contained in:
Zachary Snow
2020-08-11 18:37:21 -04:00
parent ddaa7ff6c6
commit 13b62fd81e
3 changed files with 25 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
module top;
wire [32*3-1:0] s = {32'd1, 32'd2, 32'd3};
initial #1 $display("%b %b %b %b", s, s[64+:32], s[32+:32], s[0+:32]);
endmodule