In reply to bmorris:
In reply to Danil:
Danil, I am currently doing the exact scenario you described; no problems.
Can you confirm a couple things:
- Make sure your set() is not in the run_phase; place it in the build, connect, or end of elaboration phase ( I just use build_phase ).
- Make sure your get() is inside the body() method of the sequence.
This is just to rule out the thread hitting the get() before the set(). Otherwise your code looks fine…
Hi…
im setting config in test trying to get in sequence_item(transaction_class) is this correct way to get in sequence_item
And in config class i want a random data for that im declaring the rand bit[1:0] char_len ; like this but im getting only initial data not getting random data.
is this correct way to do declare as a rand can u please clarify my doubts