Skip to content

Redesigned the RNBIP single-bus architecture to implement a 3 stage instruction-level pipeline.

License

Notifications You must be signed in to change notification settings

sid-xyz/RNBIP_Pipelined-Microprocessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Redesigned the RNBIP single-bus architecture to implement a 3 stage instruction-level pipeline.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published