Parivesh Gupta Posted May 4, 2017 Report Share Posted May 4, 2017 What is the significance of type_id in class_name::type_id::create ? Quote Link to comment Share on other sites More sharing options...
dave_59 Posted May 4, 2017 Report Share Posted May 4, 2017 (edited) It is the name of a class typedef added by the `umm_object_utils or `umm_component_utils factory macros and you are using type_it::create() to access a static method in that class. I explain the macro in this blog post. I explain how the UVM implements the factory in more detail in my SystemVerilog OOP for UVM course. Edited July 27, 2023 by dave_59 Replace broken links Quote Link to comment Share on other sites More sharing options...
Parivesh Gupta Posted May 5, 2017 Author Report Share Posted May 5, 2017 Thank you Dave Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.