项目作者: sid-xyz

项目描述 :
Redesigned the RNBIP single-bus architecture to implement a 3 stage instruction-level pipeline.
高级语言: Verilog
项目地址: git://github.com/sid-xyz/RNBIP_Pipelined-Microprocessor.git
创建时间: 2020-04-26T07:47:02Z
项目社区:https://github.com/sid-xyz/RNBIP_Pipelined-Microprocessor

开源协议:GNU General Public License v3.0

下载


RNBIP_Pipelined-Microprocessor

Basic 8-bit microprocessor.

3-stage Pipeline:

  1. Fetch
  2. Read
  3. Execute

Architecture Diagram

RNBIP

The letter on the top left corner in each register denotes the cycle in which it is updated.

  • F: Fetch
  • R: Read
  • E: Execute


Fetch: In the fetch stage, the opcode and operand are read from the program memory, addressed by the program counter. The opcode is stored in the Instruction Register (IR) and operand is stored in the Operand Register 1 (OR1).

Read: The operand is buffered and copied into OR2 from OR1. Simultaneously, OR1 gets loaded with a new value of the operand, coming from the next fetch cycle.

Execute: The register values are read, ALU/data memory operations take place and any the registers are updated if needed. In case of a branch the program counter and stack pointer are updated as necessary.


More Info

More details about the implemented architecture are present in the doc folder.

The code is present in the src folder.