def _bit_length(self):
try:<EOL><INDENT>interfaces = self._interfaces<EOL><DEDENT>except AttributeError:<EOL><INDENT>interfaces = None<EOL><DEDENT>if interfaces is None:<EOL><INDENT>_intf = self._clone()<EOL>_intf._loadDeclarations()<EOL>interfaces = _intf._interfaces<EOL><DEDENT>if interfaces:<EOL><INDENT>w = <NUM_LIT:0><EOL>for i in interfaces:<EOL><INDENT>w += i._bit_length()<EOL><DEDENT>return w<EOL><DEDENT>else:<EOL><INDENT>return self._dtype.bit_length()<EOL><DEDENT>
Sum of all width of interfaces in this interface