bverma Posted June 5, 2012 Report Share Posted June 5, 2012 How can I add queue/array to resource database ?? Thanks, Bverma Quote Link to comment Share on other sites More sharing options...
amitrana Posted June 6, 2012 Report Share Posted June 6, 2012 Hi bverma, There is no direct method of setting the queue in the resource data base. You can make the wrapper class object and then set that object in resource data base. other solution is by using the loop and setting each element of array or queue. Quote Link to comment Share on other sites More sharing options...
uwes Posted June 6, 2012 Report Share Posted June 6, 2012 putting a queue/da into the db should work if the simulator supports it module test189; import uvm_pkg::*; typedef int qda[$]; initial begin qda b = '{1,2,3,4,5}; uvm_config_db#(qda)::set(null,"path","field",; end endmodule if the simulator does not support it directly you may still wrap it into a container class.. 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.