Inheritance builds specialized transactions from shared base classes. Polymorphism lets code written against a base handle drive any derived type through virtual methods and checked casts.
Lesson | What you build | Path |
|---|---|---|
A derived AXI transaction that reuses its base through super. | Required | |
Base-handle calls that reach derived overrides at runtime. | Required | |
Safe downcasts with explicit function-form and task-form handling. | Required | |
Abstract bases, interface contracts, a mixed queue, and a factory. | Recommended |
Path labels. Required means core first pass for this topic, Recommended means most learners should read it, and Optional means reference, specialist or revision material you can return to later.
The most-derived override. A virtual call resolves on the object's runtime type, not on the handle's declared type.