Fix access to whole sub-structs (#3086)
authorKamil Rakoczy <krakoczy@antmicro.com>
Mon, 14 Feb 2022 13:34:20 +0000 (14:34 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Feb 2022 13:34:20 +0000 (14:34 +0100)
commit68c67c40ec75b192f4f1be9711afe0df8973e797
treef67834903e40ae61b39a04555ff1b96763c59cd0
parent59738c09beb3ba43a693b77eb4545122a99df7d2
Fix access to whole sub-structs (#3086)

* Add support for accessing whole struct
* Update tests

Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
CHANGELOG
frontends/ast/genrtlil.cc
frontends/ast/simplify.cc
tests/various/param_struct.ys
tests/various/struct_access.sv [new file with mode: 0644]
tests/various/struct_access.ys [new file with mode: 0644]
tests/verilog/struct_access.sv