microprobe.target.isa.operand.OperandDescriptor¶
-
class
OperandDescriptor
(mtype, is_input, is_output)[source]¶ Bases:
object
Class to represent an operand descriptor.
Methods
__init__
(mtype, is_input, is_output)param mtype: copy
()Return a copy of the Operand descriptor. set_type
(new_type)param new_type: Attributes
is_input
Is input flag ( bool
)is_output
Is output flag ( bool
)type
Type of the operand descriptor ( Operand
)
-
copy
()[source]¶ Return a copy of the Operand descriptor.
Return type: OperandDescriptor
-