aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/genrtlil.cc
diff options
context:
space:
mode:
authorPeter Crozier <peter@crozier.com>2020-05-12 14:25:33 +0100
committerPeter Crozier <peter@crozier.com>2020-05-12 14:25:33 +0100
commitf482c9c0168a6857383e7d9360c8ca1df36ba2bc (patch)
tree366454dd200407cc54ec7bec0c12b145715e5c25 /frontends/ast/genrtlil.cc
parent0b6b47ca670b9219bcb81ab7d3599267c2ef7571 (diff)
downloadyosys-f482c9c0168a6857383e7d9360c8ca1df36ba2bc.tar.gz
yosys-f482c9c0168a6857383e7d9360c8ca1df36ba2bc.tar.bz2
yosys-f482c9c0168a6857383e7d9360c8ca1df36ba2bc.zip
Generalise structs and add support for packed unions.
Diffstat (limited to 'frontends/ast/genrtlil.cc')
-rw-r--r--frontends/ast/genrtlil.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/ast/genrtlil.cc b/frontends/ast/genrtlil.cc
index a57333314..83f34c9e1 100644
--- a/frontends/ast/genrtlil.cc
+++ b/frontends/ast/genrtlil.cc
@@ -992,6 +992,7 @@ RTLIL::SigSpec AstNode::genRTLIL(int width_hint, bool sign_hint)
case AST_MODPORTMEMBER:
case AST_TYPEDEF:
case AST_STRUCT:
+ case AST_UNION:
break;
case AST_INTERFACEPORT: {
// If a port in a module with unknown type is found, mark it with the attribute 'is_interface'