#NEWLINE# def Wire( self , name , width = None , length = None , signed = False , value = None ) : #NEWLINE# #INDENT# t = vtypes . Wire ( width , length , signed , value , name = name , module = self ) #NEWLINE# if ( ( not isinstance ( self . find_identifier ( name ) , ( vtypes . AnyType , vtypes . Input , vtypes . Output ) ) ) or self . is_reg ( name ) ) : #NEWLINE# #INDENT# raise ValueError ( ( "Object '%s' is already defined." % name ) ) #NEWLINE# #UNINDENT# self . variable [ name ] = t #NEWLINE# self . items . append ( t ) #NEWLINE# return t