Hi I am sorry for the mistake.
yeah thats %0h.
the solution u have provided sounds good.
but actually when i have a queue like
bit [31:0] Q[16];
printing all the content will be to complex.
This is what i want,all the contents of this Q in hex format with underscore.
Any how thanks a lot for ur suggestion.
I try to figure out something.
Hi I am sorry for the mistake.
yeah thats %0h.
the solution u have provided sounds good.
but actually when i have a queue like
bit [31:0] Q[16];
printing all the content will be to complex.
This is what i want,all the contents of this Q in hex format with underscore.
Any how thanks a lot for ur suggestion.
I try to figure out something.
In SV, try using a foreach loop - you don't need to worry about the index length then!
However I don't believe you will get the "_" as you wished - perhaps you are used to Specman/E? That's a wonderful verification tool. Nothing can match that usability really.