gopi rangasamy Posted June 29, 2012 Report Posted June 29, 2012 Hi, Weather we can have N-numbers of uvm_sequence_item or only ONE for a environment ? If so how can we make use of the sequence_item inside other class. Thanks, Gopi Quote
whiteriver Posted June 29, 2012 Report Posted June 29, 2012 you can have as many uvm_sequence_items you want for the same sequencer, you just need to make the uvm_sequence point to the one you are currently using. The sequencer must be compatible with the sequence_item it uses, so what you can/should do in case there's a need for more than one sequence item is to create a base item and do extensions of it (using extends class declaration keyword). Then make the sequencer use the base item and the sequences use the child class you want. 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.