H
Hilko
Guest
Hi
i'm a beginner in vhdl. i have some experiences in AHDL. In AHDL the
following code is no problem:
reg_a[7..0] = reg_b[15..8];
where reg_a and reg_b are vectors of dff's.
The same in VHDL
signal_a(7 downto 0) = signal_b(15 downto 8); doesn't work. The
following error occurs:
VHDL error...: left bound (15) of slice must belong to range (7 downto
0) of corresponding object
What is the correct way to do so in VHDL ???
Thanks
Hilko
i'm a beginner in vhdl. i have some experiences in AHDL. In AHDL the
following code is no problem:
reg_a[7..0] = reg_b[15..8];
where reg_a and reg_b are vectors of dff's.
The same in VHDL
signal_a(7 downto 0) = signal_b(15 downto 8); doesn't work. The
following error occurs:
VHDL error...: left bound (15) of slice must belong to range (7 downto
0) of corresponding object
What is the correct way to do so in VHDL ???
Thanks
Hilko