Jagjeevan Posted December 30, 2011 Report 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
dave_59 Posted January 4, 2012 Report 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
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.