View Single Post
  #6 (permalink)  
Old 02-03-2010, 01:16 AM
fpgaasicdesigner
Guest
 
Posts: n/a
Default Re: concatenation with a for loop

On Feb 2, 5:17*pm, John_H <newsgr...@johnhandwork.com> wrote:
> On Feb 2, 5:16*pm, John_H <newsgr...@johnhandwork.com> wrote:
>
> > On Feb 2, 5:15*pm, John_H <newsgr...@johnhandwork.com> wrote:

>
> > > * header[n] <= register[ n-1 :+ 1 ];

>
> > Oops...
> > Make that register[ 15-n :+ 1 ]

>
> Ans as Cary pointed out, it's +: not :+
>
> I guess the day's gotten the better of me.


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