GithubHelp home page GithubHelp logo

hr-fahim / full-single-cycle-pipelined-datapath-with-control-unit-using-16bit-alu Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 470 KB

In a Single Cycle Datapath, each of the Datapath's components carries out an instruction in one cycle. Therefore, no Datapath component may be utilized more than once each cycle.

License: GNU General Public License v3.0

arithmetic-logic-unit computer-architecture datapath mips-pipeline-processor

full-single-cycle-pipelined-datapath-with-control-unit-using-16bit-alu's Introduction

About

This repository contains the implementation of a Single Cycle Datapath, where each component of the datapath executes an instruction once per cycle. The fetch-decode-execute sequence is generated using components of the Single-Cycle Datapath to create a Multi-Cycle (pipelined) Datapath. In the pipelined Datapath, functional units such as the register file, data memory, and ALU can be utilized multiple times during the execution of an instruction, resulting in reduced hardware and cost.

P.S. The project was completed under CSE332 (Computer Organization and Architecture) course offered by North South University.

Project Details

The project implements a full Single-Cycle Pipelined Datapath with a Control Unit using a 16-bit ALU. The Single-Cycle Pipelined Datapath is divided into various components, including:

  • Memory: This component holds the current instruction.
  • ALU: It processes the current instructions.
  • Program Counter (PC): It maintains the address of the current instruction.

These components are interconnected to create the basic Datapath.

Experiment Details

The project utilizes a 16-bit ISA with the following instruction formats:

  • R-type:
op (4 bit) rs (4 bit) rt (4 bit) rd (4 bit)
  • I-type:
op (4 bit) rs (4 bit) rt (4 bit) immediate (4 bit)
  • J-type:

| op (4 bit) | Target (12 bit) |

Requirements

  • Logisim Tool

Pipelined Datapath Diagram

The diagram below illustrates the schematic for the entire Single-Cycle Datapath with pipeline registers placed between the phases:

Pipelined-version-of-the-MIPS-datapath

Note: This diagram represents the collected version.

License

The code in this repository is provided under the GNU License. Please refer to the license file for more details, limitations, and responsibilities.

Extra

As a bonus, some additional simple ALU projects have been included in this repository along with the main project.

Support

Support this project in the following ways:

  • Star the repository.
  • Follow me on GitHub.
  • Share this project on sites like Hacker News, Twitter, Reddit, etc.
  • Report any bugs, glitches, or errors.

Thank you for your support!

full-single-cycle-pipelined-datapath-with-control-unit-using-16bit-alu's People

Contributors

hr-fahim avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.