I have an array of 256 bits as follows:
bit [255:0] data;
I would like this to be printed with delimiters every 16bits
For example
data = 0xffff_eeee_1234_abcd
What is getting printed now is:
data = 'hffffeeee1234abcd
I have an array of 256 bits as follows:
bit [255:0] data;
I would like this to be printed with delimiters every 16bits
For example
data = 0xffff_eeee_1234_abcd
What is getting printed now is:
data = 'hffffeeee1234abcd
In reply to csivas@gmail.com:
I guess you are using the formatter %h. This delivers a value as you have seen.
If you want to see this in a different format it is up to you to implement a corresponding method.