issues
search
tpoikela
/
uvm-python
UVM 1.2 port to Python
Apache License 2.0
243
stars
46
forks
source link
Adding __repr__() method to object_utils
#31
Closed
sjalloq
closed
3 years ago
sjalloq
commented
3 years ago
added m_uvm_object_repr_func() to uvm_object_utils. This checks if the class has a convert2string method and inserts
repr
(self) that calls convert2string. Purely to be lazy and avoid typing.