Non-copy shared stack and register file device and dual language processor structure using the same
AssigneeIndustrial Technology Research Institute
InventorsRuey-Liang Ma, Shih-Wei Peng
Life of this patent
Estimating the term…
Abstract
The present invention provides a non-copy shared stack and register set device and a dual language processor structure using the same, which achieve non-copy data sharing by controlling a selector and the stack pointer of a data stack. The selector is connected to each item of the data stack and a register of the register set, such that, when the register set requires to exchange data with the data stack, the selector is controlled and the stack pointer is updated thereby the selector is switched to make the stack item pointed by the stack pointer communicate with the register.
Claims14
A non-copy shared stack and register file device comprising:
- a register set having a plurality of registers for executing register-based instructions;
- a data stack having a plurality of stack items and a stack pointer for executing stack-based instructions;
- a selector connected to each stack item of the data stack and at least one register of the register set for being switched to make at least one stack item communicate with the at least one register;
- and
- a control circuit for controlling the selector and updating the stack pointer to switch the selector to make the stack item pointed by the stack pointer communicate with the at least one register.
A dual language processor structure comprising:
- at least one instruction fetching unit for fetching stack-based instructions and register-based instructions;
- at least one decoding unit for decoding the fetched stack-based instructions and register-based instructions;
- at least one operand access unit for accessing operands corresponding to the fetched stack-based instructions and register-based instructions, the operand access unit having a register set, a data stack and a selector, the register set having a plurality of registers, the data stack having a plurality of stack items and a stack pointer, the selector being connected to each stack item of the data stack and at least one register of the register set for being switched to make a stack item pointed by the stack pointer communicate with the at least one register;
- at least one execution unit for performing operations corresponding to operators decoded by the decoding unit and the operands accessed by the operand access unit;
- and
- at least one memory access unit for accessing executing result from the execution unit.
Dependencies are inferred from the claim text.