Ravi_3 Posted April 6, 2023 Report Share Posted April 6, 2023 Hello , Iam trying to verify the router design ...but getting error as follows. ** Error: (vsim-7065) Illegal assignment to class work.router_pkg::router_wr_seqr from class mtiUvm.uvm_pkg::uvm_sequencer #(class work.router_pkg::write_xtn, class work.router_pkg::write_xtn) # Time: 0 ns Iteration: 0 Region: /router_pkg File: ../tb/router_tb.sv Line: 37 begin foreach(v_seqrh.wr_seqr[i]) v_seqrh.wr_seqr[i]=wr_agt_t.wr_agt[i].wr_seqr; //error line// foreach(v_seqrh.rd_seqr[i]) v_seqrh.rd_seqr[i]=rd_agt_t.rd_agt[i].rd_seqrh; end Quote Link to comment Share on other sites More sharing options...
David Black Posted April 6, 2023 Report Share Posted April 6, 2023 Having no knowledge of the rest of the design, your question is difficult to respond to. What are the types (class names) of the source (wr_agt_t.wr_agt[i].wr_seqr) and destination (v_seqrh.wr_seqr[i])? How are they declared? What are the class relationships? Quote Link to comment Share on other sites More sharing options...
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.