In reply to SHREYAS PATEL:
Hello Dave,
I have a dynamic array of 32 bits which I would like to write into a byte memory. Say I have something like the following:
bit[31:0] rdata;
for example:
rdata = '{32’h5a5a_abcd, 32’h1234_5678}
I would like to write the bytes as 8’hcd (location # 0), 8’hab (location # 1), 8’h5a (location # 2), 8’h5a (location # 3),8’h78 (location # 4), 8’h56 (location # 5),8’h34 (location # 6), 8’h12 (location # 7).
Is it possible to achieve this using steaming operators ?
Thanks,
Madhu