** SimpleRISC ** is an optional coursework of one of my favorite class -- High-Performance Computer Systems, lectured by Weiwu Hu, the chief engineer of Loongson.
Though very simple with the absence of the executing out-of-order feature and the memory access feature and a very simple ISA, this simple "CPU" implementation employs a full featured in-order pipeline, which is very useful in understanding the essence of the superscalar feature of modern CPU micro-architecture design.
- RISC
- 16-bit width instructions and data
- 8 GPR (general purpose registers), #0 GPR is always zero
- one fixed-point ALU
- Register Type
- Immediate Type
| I-Type | OP(4) | RD(3) | RS(3) | Immediate | |
| R-Type | OP(4) | RD(3) | RS1(3) | RS2(3) | OPX(3) |
After some optimization, the final data path is illustrated below.
** Note: All the materials are from my class "High-Performance Computer Systems", and all rights reserved. **
This is just a simple course work at the very begining of the course, and the whole course is far more complex than this small course work.
