verifier Posted May 30, 2012 Report Share Posted May 30, 2012 Hi in my env I have few masters agents and register adapter for each master agent. each register sequence uses different regmodel from env I would like to create virtual sequence to send register sequences on these masters. I would like to use command line option ti get sequence name and run the test. any suggestion how can I do this ? Quote Link to comment Share on other sites More sharing options...
petermonsson Posted August 3, 2012 Report Share Posted August 3, 2012 Hi Verifier, Have you found a solution to this yet? If not, is it a completely different register model for each agent or is it just a different uvm_reg_map? Best Regards Peter Quote Link to comment Share on other sites More sharing options...
verifier Posted August 3, 2012 Author Report Share Posted August 3, 2012 Its a one register model but few different maps. I am still working on it. Quote Link to comment Share on other sites More sharing options...
petermonsson Posted August 7, 2012 Report Share Posted August 7, 2012 Hi Verifier, I don't have a full solution, but here is an idea. Create a base virtual sequence which can start a register sequence. For each agent + uvm_reg_map, create a subclass of the base virtual sequence which connects the register sequence to the specific agent. Use +uvm_set_inst_override or +uvm_set_type_override command line options to override the instantiation of the base virtual sequence in your environment to a specific subclass. It is late for me, so I'm not sharp enough to give you any code, but does this help you some of the way? Best Regards Peter http://www.vmmcentral.org/uvm_vmm_ik/files3/base/uvm_cmdline_processor-svh.html 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.