On Fri, Jan 9, 2009 at 3:31 PM, Ian Chapman <[email protected]> wrote:
> reg_a(7 downto 0) <= reg_a(7 downto 0) + (x"0000000" & carry);
>
>     The above error was not detected by ghdl but Lattice picked it up
> as wrong length (8:29).  Just to report what may be a bug.  Regards Ian.

X"0000000" is 28 bits.  Append the carry for the 29th.

Remove the X and you should be fine.

Brian

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to