Pico Java
Pico Java
Minerals
College of Computer Science and
Engineering
Computer Engineering Department
COE -390 : Seminar
PicoJava Microprocessor Architecture
Presented by
Muhammad F. Sagr
Contents
Java Virtual Machine
3 Ways to Execute Java Code
PicoJava Overview
PicoJava Structural Implementation
The Stack Cache
Cost and Performance
Page 2 of 40
System Calls
Page 3 of 40
Page 4 of 40
PicoJava Chip
Page 5 of 40
Page 6 of 40
Stack cache
The stack cache is a 64 entry register file
which caches the top few entries of the
operand stack.
Stack is circular. 65 pushes would result in
one cache replacement.
Page 7 of 40
PicoJava Features
Developed Using Verilog RTL.
Supports:
Stack-based architecture:
Page 8 of 40
200 assigned
24 quick variations
2 reserved
Page 9 of 40
No register specifiers
Implicit VARS register for local variable accesses
Page 10 of 40
Page 11 of 40
DECODE
Decode and
apply folding
Logic, if
Appropriate.
EXECUTE
Execute for one
Or more cycles.
WRITE-BACK
Write results back
Into the operands
Stack.
Page 12 of 40
Stack-Based Architecture
Stack architecture implement as a RISC
Operands typically accessed from the stack, put
back on the stack
Example: Integer addition
Add top 2 entries in the stack and put the result back
on top of the stack
Typical emulation on a RISC processor
LOAD TOS
LOAD TOS-1
ADD
STORE TOS-1
Page 13 of 40
Page 14 of 40
Page 15 of 40
Page 16 of 40
Conclusion
PicoJava is used in internet appliances,
WebTV, mobile phones and other high
speed appliances.
In the very near future, PicoJava will be a
processor of choice for CPUs.
PicoJava achieved speed and efficiency.
Five major companies are already
licensed for PicoJava chips.
PicoJava Microprocessor Architecture Muhammad Sagr
Page 17 of 40
References
1.
2.
Page 18 of 40
Thank you!
? ?
Questions?
Page 19 of 40