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