Method and programmable unit for bit field shifting
AssigneeInfineon Technologies AG
InventorsXiaoning Nie, Thomas Wahl
Life of this patent
Estimating the term…
Abstract
A method and a programmable unit for bit field shifting in a memory device in a programmable unit as a result of the execution of an instruction, in which a bit segment is shifted within a first memory unit to a second memory unit, are presented. The bit segment is read with a first bit length from a first bit field in the first memory unit starting at a first start point. The bit segment that has been read is stored in the first bit field in the second memory unit starting at a second start point. The first or the second start points is updated by a predetermined value and the updated start point is stored for subsequent method steps.
Claims29
A method for sequentially reading out continuous bit segments of a data string by means of bit field shifting using variable bit positions, the method comprising:
- providing a pipeline structure comprising programmable unit which comprises a first and second memory unit and an additional register, wherein in the additional register a first and a second start point are stored in order to be able to read out the corresponding bit segment from the first memory unit and in order to be able to store the corresponding bit segment into the second memory unit, respectively;
- embedding recurring program steps of programmable unit within a program loop, the program steps comprising:
- (a) reading out a first bit segment of a data string to be read with a first bit length from a first bit field in the first memory unit starting at the first start point;
- (b) shifting and storing the bit segment that has been read in the first bit field of the second memory unit staring at the second start point;
- (c) updating the first and the second start points by incrementing the first and second start points by a predetermined offset-value;
- (d) storing the first and the second start points in the additional register;
- and
- (e) returning to step (a) to read out the further bit segments of the data string to be read.
A pipeline structure comprising programmable unit for processing instructions by sequentially reading out continuous bit segments of a data string by means of bit field shifting using variable bit positions, the programmable unit comprising:
- a first memory unit;
- a second memory unit;
- an additional register, wherein in the additional register a first and a second start point are stored in order to be able to read out the corresponding bit segment from the first memory unit and in order to be able to store the corresponding bit segment into the second memory unit, respectively;
- a first device for bit field shifting which comprises a program loop for recurring program steps of the programmable unit, which shifts a first bit segment within a first bit field to an area in the second bit field;
- and
- a second device for calculating an update of the first and the second start points by incrementing these start points by a predetermined offset-value.
Dependencies are inferred from the claim text.