cocotb_wrapper.axi.AxiCacheBit#
- class cocotb_wrapper.axi.AxiCacheBit(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
The different bits of the AxCACHE attribute.
The AxCACHE signals specify the Bufferabel, Modifiable, and Allocate attributes of the transaction.
- __init__(*args, **kwds)#
Methods
Return a pair of integers, whose ratio is equal to the original int.
Number of ones in the binary representation of the absolute value of self.
Number of bits necessary to represent self in binary.
Returns self, the complex conjugate of any int.
from_bytes([byteorder, signed])Return the integer represented by the given array of bytes.
Returns True.
to_bytes([length, byteorder, signed])Return an array of bytes representing an integer.
Attributes
Bufferable bit.
Modifiable bit.
Read-Allocate bit.
Write-Allocate bit.
the denominator of a rational number in lowest terms
the imaginary part of a complex number
the numerator of a rational number in lowest terms
the real part of a complex number