From: Pete Fraser on
"Magne Munkejord" <magnemunk(a)yahoo.no> wrote in message
news:hoad0m$4g$1(a)toralf.uib.no...

> It was in the original post, if you missed it:
> std_logic_vector(to_unsigned(sample_val, <length>))
>
> make sure <length> is multiple of 4 if you intend to use it with hwrite.

That worked great.
I shouldn't read / respond to posts at 4 am.

Thanks

Pete