Open transaction-stream

In reply to Tudor Timi:
Thanks for inspiration.
The whole required code would be:


integer stream_h=0;
if (uvm_verbosity'(recording_detail) != UVM_NONE) begin
   stream_h = recordr.create_stream(stream_name, "TVM", get_full_name());
   m_stream_handle[stream_name] = stream_h;
end

Only after the last assignment the stream becomes available in my monitor for a waveform viewer. The problem is that m_stream_handle is a local variable, thus it can’t be modified from an inheriting class.