Address generating apparatus and motion vector detector
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsMana Hamada, Shunichi Kuromaru, Tomonori Yonezawa
Life of this patent
Estimating the term…
Abstract
A high-function address generating apparatus is realized which generates a memory address that can access a multidimensional area without running over a memory area specified by a user. Continuous addressing domain which is determined by a top address and a final address is set by an addressing domain setting means 101, an address is generated by a two-dimensional address generating means 106, the address in a two-dimensional area is compared with the final address and the top address by a first and a second comparing means 108 and 109, respectively, whether it runs over the addressing domain or not is judged by an address correction means 112, and an address running over is corrected so as to not run over.
Claims11
An address generating apparatus comprising:
- an addressing domain setting means for setting a successive addressing area which is determined by a top address and a final address, the top address having a value smaller than that of the final address;
- a multidimensional address generating means which can successively generate addresses in a multidimensional area;
- a first comparing means for comparing respective addresses subsequently generated by the multidimensional address generating means with the final address;
- a second comparing means for comparing respective addresses subsequently generated by the multidimensional address generating means with the top address;
- and
- an address correction means for receiving the respective addresses subsequently generated by the multidimensional address generating means and the comparison results of the first and second comparing means as inputs, judging whether or not the respective addresses subsequently generated by the multidimensional address generating means run over the addressing domain set by the addressing domain setting means, based on the comparison results of the first and second comparing means, and correcting the respective addresses so that when an addressing domain exceeds the bottom row of a rectangular area to perform accesses to a subsequent downward row in the column direction, addresses are amended so that the addressing domain returns to the top row of the rectangular area to perform accesses toward sequentially downward rows, and when the addressing domain goes beyond the right edge of a row to perform accesses to further rightward columns in the row direction, addresses are amended so that the addressing domain returns to the beginning of a subsequent row of the rectangular area to perform accesses subsequently therefrom and output the comparison results when they exceed the addressing domain, and to output address of a subsequent cycle from a multidimensional address generating means as they are when they do not exceed the addressing domain.
An address generating apparatus comprising:
- an addressing domain setting means for setting a successive addressing area which is determined by a top address and a final address;
- a multidimensional address generating means which can successively generate addresses in a multidimensional area;
- a first comparing means for comparing respective addresses subsequently generated by the multidimensional address generating means with the final address;
- a second comparing means for comparing respective addresses subsequently generated by the multidimensional address generating means with the top address according to size;
- an address detecting means for detecting to which of the top address or the final address, the address of a subsequent cycle is nearer based on the comparison result of the first comparing means and the comparison result of the second comparing means;
- and
- an address correction means for receiving the comparison results of the first and second comparing means, the output of the address detecting means, and the address of a subsequent cycle as inputs, judging whether or not the respective addresses subsequently generated by the multidimensional address generating means run over the addressing domain set by the addressing domain setting means, based on the comparison results of the first and second comparing means and the output of the address detection means, and correcting the respective addresses so that when an addressing domain exceeds the bottom row of a rectangular area to perform accesses to a subsequent downward row in the column direction, addresses are amended so that the addressing domain returns to the top row of the rectangular area to perform accesses toward sequentially downward rows, and when the addressing domain goes beyond the right edge of a row to perform accesses to further rightward columns in the row direction, addresses are amended so that the addressing domain returns to the beginning of a subsequent row of the rectangular area to perform accesses subsequently therefrom and output the comparison results when they exceed the addressing domain, and to output address of a subsequent cycle from a multidimensional address generating means as they are when they do not exceed the addressing domain.
Dependencies are inferred from the claim text.