Jagjeevan Posted December 30, 2011 Report Share Posted December 30, 2011 Hi All, I read that Factory is singleton (single instance of factory). Could anyone let me know where this is instantiated exactly and how it is instantiated ? Thanks in Advance. - Jagjeevan Quote Link to comment Share on other sites More sharing options...
dave_59 Posted January 4, 2012 Report Share Posted January 4, 2012 It is defined inside the file uvm_factory.svh as a static global variable in the uvm_pkg const uvm_factory factory = uvm_factory::get(); It is instantiated by the first call to uvm_factory::get(); 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.