Since you are accessing fixed-size chunks you can use your packed array
bit [0:87] BIT_ARRAY = "Hello world";
and part-select the individual bytes using the +: (or -:) operators.
For example,
BIT_ARRAY [0 +: 8]
access the character “H”.
Since you are accessing fixed-size chunks you can use your packed array
bit [0:87] BIT_ARRAY = "Hello world";
and part-select the individual bytes using the +: (or -:) operators.
For example,
BIT_ARRAY [0 +: 8]
access the character “H”.