mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-30 16:03:17 +00:00
Fix access to whole sub-structs (#3086)
* Add support for accessing whole struct * Update tests Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
This commit is contained in:
parent
59738c09be
commit
68c67c40ec
7 changed files with 72 additions and 11 deletions
|
@ -41,8 +41,7 @@ always_comb begin
|
|||
assert(j == 1'b1);
|
||||
assert(k == 1'b0);
|
||||
assert(l == 3'b111);
|
||||
// TODO: support access to whole sub-structs and unions
|
||||
// assert(m == 2'b10);
|
||||
assert(m == 2'b10);
|
||||
assert(u == 5'b11001);
|
||||
end
|
||||
endmodule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue