i include m_sequencer.set_arbitration(arb_type);
in place of p_sequencer.set_arbitration(SEQ_ARB_RANDOM);
but now i am getting this error as
Error-[IND] Identifier not declared
adder_sequence.sv, 52
Identifier ‘SEQ_ARB_RANDOM’ has not been declared yet. If this error is not
expected, please check if you have set `default_nettype to none.
Error says that ‘SEQ_ARB_RANDOM’ is not a valid identifier. To check if the name is correct or not, you can go to UVM source files and grep for the text ‘SEQ_ARB_RANDOM’. Use UVM_SEQ_ARB_RANDOM.
I’m not sure what you want to execute randomly. Is it the 3 sequences you are starting in your fork-join or do you look for the execution of the sequence items?.
The 3 sequences are executed in random order anyway.