Address generating circuit for block repeat addressing for a pipelined processor
Abstract
An address generating circuit of simple configuration for repeating a selected block of instructions is provided. An instruction address maintained by program counter 72 is compared to register 76 that holds the address of the end of the selected block of instructions. When the end address is detected, the program counter is loaded with a starting address of the block of instructions, which is stored in register 80. Block repeat count register 86 maintains a repeat count. Zero detection circuit 70 delays decrements of register 86 by a number of clock cycles that is equivalent to a pipeline depth for instruction prefetching of a processor connected to program counter 72. The zero detection circuit 70 outputs a loop-end control signal which controls a selector to selectively provide an incremented address or the start address to the program counter. By delaying decrements of register 86, the state of the repeat count is correctly maintained when the processor pipeline is flushed during an interrupt. The zero detection circuit also deactivates the loop-end control signal for the number of clock cycles equivalent to the depth of the prefetch pipeline during the final repeat loop iterat
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An address generating circuit, comprising: a first memory for storing a start address; a second memory for storing an end address, wherein the end address is the same as or larger than the start address; a program counter for holding an instruction address, with a selection circuit connected to the program counter operable to selectively provide to the program counter either an address incremented in response to a clock signal when a loop-end control signal is inactive or the start address from the first memory when the loop-end control signal is active; a comparator connected to the pro
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗