摘要 |
Approaches for selecting a field of data from a packet of data in an n-bit data path. A first selector circuit has m inputs and an output. The m inputs receive respective overlapping subsets of bits of the data path. The first selector selects one of the subsets of bits. Each stage of two or more shift-and-select stages includes a respective second selector circuit having up to m inputs. One of the inputs of the respective second selector circuit inputs an un-shifted version of the subset of bits, one or more others of the up to m inputs of the respective second selector circuit input different shifted versions of the subset of bits, and the respective second selector circuit outputs a selected one of the un-shifted or shifted versions of the subset of bits. The last shift-and-select stage outputs the field of data aligned to the least significant bit. |