79629093

Date: 2025-05-19 15:57:38
Score: 1.5
Natty:
Report link

May I offer a modest harumph and pose a mildly philosophical question?

Harumph

class, interface, virtual, pure - surely the English language has more to offer. Yet SystemVerilog insists on shuffling these same tokens into different constructs. Reminds me LEGO of the 70s. Building a dog out 6 bricks.

Question

Has there been any serious thoughts given to incorporating interface class into the UVM base classes, as a formal vehicle for hooks, something like Python’s dunder methods?

It could be rather civilized to have iter(), add() and more, already having copy(), pack(), unpack(), print()... It might introduce a bit of structure and decorum to what otherwise be rather unruly DV code.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Y T