Stack management unit and method for a processor having a stack
Abstract
The present invention provides a stack management unit including a stack cache to accelerate data transfers between the stack-based computing system and the stack. In one embodiment, the stack management unit includes a stack cache, a dribble manager unit, and a stack control unit. The dribble manager unit includes a fill control unit and a spill control unit. Since the vast majority of memory accesses to the stack occur at or near the top of the stack, the dribble manager unit maintains the top portion of the stack in the stack cache. Specifically, when the stack-based computing system is pushing data onto the stack and a spill condition occurs, the spill control unit transfers data from the bottom of the stack cache to the stack so that the top portion of the stack remains in the stack cache. When the stack-based computing system is popping data off of the stack and a fill condition occurs, the fill control unit transfer data from the stack to the bottom of the stack cache to maintain the top portion of the stack in the stack cache. Typically, a fill condition occurs as the stack cache becomes empty and a spill condition occurs as the stack cache becomes full.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 83.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
In a processor having a stack, a stack cache management unit for caching said stack comprising: a stack cache having a stack cache memory circuit coupled to said stack, said stack cache memory circuit having a plurality of memory locations; a cache bottom pointer pointing to and defining a bottom memory location within said stack cache memory circuit; a spill control unit coupled to transfer a first data word stored in said bottom memory location from said stack cache to said stack; and a fill control unit coupled to transfer a second data word from said stack to said bottom memory locat
- Claim 2Depends on #1
The stack cache management unit of claim 1, wherein said stack cache further comprises: a first read port coupled between said stack cache memory circuit and said stack, wherein said sp
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 83 total)
References Cited — Backward Prior Art (27)
Non-Patent Literature (5)
- Atkinson, R.R., et al., "The Dragon Processor", Second International Conference on Architectural Support for Programming Languages and Operating Systems, No. 1987, Oct. 5, 1987, pp. 65-69, XP000042867.
- Atkinson, R.R., et al., The Dragon Processor , Second International Conference on Architectural Support for Programming Languages and Operating Systems, No. 1987, Oct. 5, 1987, pp. 65 69, XP000042867.
- Burnley, P: "CPU Architecture for Realtime VME Systems", Microprocessors and Microsystems, London, GB, vol. 12, No. 3; Apr. 1988; pp. 153-158; XP000002633.
- Burnley, P: CPU Architecture for Realtime VME Systems , Microprocessors and Microsystems, London, GB, vol. 12, No. 3; Apr. 1988; pp. 153 158; XP000002633.
- Electronic Engineering, vol. 61, No. 750, Jun. 1989, p. 79, XP000033120, "Up Pops A 32Bit Stack Microprocessor."