How to Print a whole queue using $monitor?
In reply to jayeshranjan:
To print complex data structures(e.g. array, class etc.) you can use %p,
$monitor("Value is %p", my_queue);
In reply to mayurkubavat:
Actually I have already tried this . But its showing an error as below:
Error-[DTINPCIL] Dynamic type in non-procedural context
testbench.sv, 7
“$monitor(“Value is %p”, my_queue);”
Argument: my_queue
Queue may not be used in non-procedural context.
I am also mentioning the the link of edaplayground where i have tied to simulate:
In reply to jayeshranjan:
This works fine in Questasim, so it must be a tool related. Please contact your vendor’s support team regarding this issue.
ok , Thanks cgales