In reply to Have_A_Doubt:
as you wrote: intersect operator requires that both left sequence and right sequence start and end at the same time .
You have *sig[*4] intersect 1[10]. These are NOT of the same length.
Change the code to
**sig[4] intersect 1[1:10]
Here the 1[*1:10] has many threads, including the 1[*4] as an option.
EPWave Waveform Viewer wave
(1) - EDA Playground code
Ben Cohen
Ben@systemverilog.us
Link to the list of papers and books that I wrote, many are now donated.
or Cohen_Links_to_papers_books - Google Docs
Getting started with verification with SystemVerilog