Belle II Software
release-08-01-10
|
Public Member Functions | |
def | format_value (self, value, check=True) |
Public Attributes | |
ident | |
Identifier used in VCD output stream. | |
type | |
VCD variable type; one of :const:VCDWriter.VAR_TYPES . | |
size | |
Size, in bits, of variable. | |
Static Private Attributes | |
tuple | __slots__ = () |
variables | |
One-bit VCD scalar. This is a 4-state variable and thus may have values of 0, 1, 'z', or 'x'.
def format_value | ( | self, | |
value, | |||
check = True |
|||
) |
Format scalar value change for VCD stream. :param value: 1-bit (4-state) scalar value. :type value: str, bool, int, or None :raises ValueError: for invalid *value*. :returns: string representing value change for use in a VCD stream.
Reimplemented from Variable.