# Node ID 91854c3bf3813356d74ada1daf98049d2f7865e6 # Parent e73aade2547449d09c8f0fc9ec811a3378914920 diff --git a/src/mem/slicc/ast/AssignStatementAST.py b/src/mem/slicc/ast/AssignStatementAST.py --- a/src/mem/slicc/ast/AssignStatementAST.py +++ b/src/mem/slicc/ast/AssignStatementAST.py @@ -1,5 +1,6 @@ # Copyright (c) 1999-2008 Mark D. Hill and David A. Wood # Copyright (c) 2009 The Hewlett-Packard Development Company +# Copyright (c) 2013 Advanced Micro Devices, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -45,7 +46,10 @@ code("$lcode = $rcode;") - if not (ltype == rtype or (ltype.isInterface and ltype['interface'] == rtype.ident)): + if str(rtype) != "OOD" and \ + (not (ltype == rtype or \ + (ltype.isInterface and \ + ltype['interface'] == rtype.ident))): # FIXME - beckmann # the following if statement is a hack to allow NetDest # objects to be assigned to Sets this allows for the