SystemVerilog OOP Mastery · All levels
Interface Classes and `implements`: Pitfalls
Pitfalls for Interface Classes and `implements`.
Pitfalls and red flags
Confusing `interface class` with RTL `interface`; they solve different problems.
Declaring `implements` but forgetting one required method implementation.
Trying to store mutable instance state inside an interface class rather than in implementing classes.
Using interface classes where shared implementation is needed; that belongs in a concrete/virtual helper class.