发明名称 Modulo address generator
摘要 An address generator for generating addresses for target locations in a circular buffer of length L, the buffer having an upper boundary and a lower boundary, the lower boundary being at an address which is a multiple of an integer power of two, and the address of a target location being offset by M locations from a current buffer location at address A, where M is no longer than L. The apparatus comprises a set of three registers, an adder for generating an absolute address, an adder/subtractor for generating a wrapped address which maps the absolute address into the buffer address space when the absolute address is outside that space, and certain control logic for selecting as the target address either the absolute address or the wrapped address. The contents of the three registers represent, respectively, the length of the buffer, the current address designated by the pointer, and the offset from the current buffer address to the target location in the buffer. The adder generates the absolute address by adding the current address of the pointer to the offset. The adder/subtractor generates the wrapped address by either adding to the absolute address or subtracting from the absolute address the length of the buffer, depending on the direction of the offset. Logic operating on the carry bits from the adder and from the adder/substractor detects the generation of an absolute address outside the boundaries of the buffer and provides as the target address the wrapped address instead of the absolute address.
申请公布号 US4800524(A) 申请公布日期 1989.01.24
申请号 US19870127579 申请日期 1987.12.02
申请人 ANALOG DEVICES, INC. 发明人 ROESGEN, JOHN P.
分类号 G06F5/10;G06F7/72;G06F9/355;(IPC1-7):G06F12/00;G06F7/00 主分类号 G06F5/10
代理机构 代理人
主权项
地址