Jump to content

Dynamic Packed Array


Recommended Posts


I have declared dynamic packed array in my .sv test file


logic [31:0] txdata [];


and I want to configure it to another variable in transaction block.

so, I am using  uvm_resource_db#(logic)::set("TEST_TO_TRANS","txdata_vip",vip_txdata,this); in test side and using statement  void'(uvm_resource_db#(logic)::read_by_name("TEST_TO_TRANS","txdata_vip",TXDATA)); in transaction side.


but It shows type error, so what should I use in #(type)??





Link to post
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...