ID:13810 VHDL error at <location>: slice that is assigned to target slice has <number> elements, but must have same number of elements as target slice (<number>)

CAUSE: In an assignment at the specified location in a VHDL Design File (.vhd) you assigned a slice of an array type object to the slice of another array type object. However, as specified in the message text, the number of elements in the two slices are not the same. For example, in the following Signal Assignment Statement, the slice of signal s contains 8 elements, and the slice of signal i contains 16 elements:
    s(0 to 7) <= i(0 to 15);
The slice of the object you are assigning and the slice of the object to which you are making the assignment must have the same number of elements.

ACTION: Change one or both slices so that the slices contain the same number of elements. For the previous example, you can change the slice of s to s(0 to 15), or change the slice of i to i(0 to 7).