Address calculation unit for java or java-like native processor
First Claim
Patent Images
1. In an object-oriented language processor, an address calculation unit comprising:
- one or more inputs for receiving a local variable pointer;
one or more inputs for receiving a local variable number;
a scaling portion for scaling the local variable number; and
a generating portion for generating memory addresses for elements contained in one or more object oriented data structures by using the scaled local variable number, wherein the generating portion generates the memory addresses in a single processor clock-cycle.
2 Assignments
0 Petitions
Accused Products
Abstract
A processor is provided with a address calculation unit so as to generate addresses for elements of object oriented data structures in one processor clock cycle.
24 Citations
20 Claims
-
1. In an object-oriented language processor, an address calculation unit comprising:
-
one or more inputs for receiving a local variable pointer;
one or more inputs for receiving a local variable number;
a scaling portion for scaling the local variable number; and
a generating portion for generating memory addresses for elements contained in one or more object oriented data structures by using the scaled local variable number, wherein the generating portion generates the memory addresses in a single processor clock-cycle. - View Dependent Claims (2, 3)
-
-
4. An object oriented processor comprising:
an ACU, the ACU comprising a generating portion for generating memory addresses for elements contained in object oriented data structures, wherein the generating portion generates the addresses in a single clock-cycle. - View Dependent Claims (5, 6, 7, 8)
-
9. A method of calculating addresses in an object-oriented processor, the method comprising:
-
a. receiving a base value;
b. receiving an index;
c. scaling the index to produce a scaled index; and
d. adding the scaled index to the base value to generate an address, wherein steps a. to d. are accomplished in a single clock cycle of the processor.
-
-
10. In an object oriented processor, a base address register comprising:
- a register for holding the base address of an object.
- View Dependent Claims (11, 12, 13, 16, 17, 18, 19, 20)
-
14. A processor including an ACU, the ACU comprising:
-
a. a circuit for receiving a control word from the processor, b. a circuit for receiving a stack pointer, a local variable pointer, and a base address;
c. an adder circuit;
d. a selecting circuit for selecting one of the stack pointer, local variable pointer and base address, the selecting circuit producing an output comprising the selection, the output coupled to the adder;
e. a circuit for receiving a local variable number; and
f. a circuit for shifting the local variable number, coupled to the circuit for receiving a local variable number, the circuit for shifting producing a shifted local variable number output, the output coupled to a second port of the adder.
-
-
15. A processor comprising:
an ACU, the ACU comprising inputs for receiving arguments that reference object oriented data structures.
Specification