View Single Post
  #7 (permalink)  
Old 02-03-2010, 01:34 AM
Cary R.
Guest
 
Posts: n/a
Default Re: concatenation with a for loop

fpgaasicdesigner wrote:

> thanks guys, that works with
> header[idx*WIDTH +: WIDTH] <= register[idx]


except this gives you:

header = {register[2], register[1], register[0]};

not

header = {register[0], register[1], register[2]};

like you originally asked for. I'm just noting a discrepancy. What
matters is that it is working like you expect.

Cary
Reply With Quote