We've already looked at how to interrogate classes about what variables they have and how to set and get the values of these variables in different instances. Classes are much more than just data containers, though. They also contain methods that can operate on their variables. In this post we'll look at how we can handle tasks and functions inside our reflection API.
This is a companion discussion topic for the original entry at https://verificationgentleman.netlify.app/2016/06/01/systemverilog-reflection-api-part3.html