Code Monkey home page Code Monkey logo

loop_unrolling_and_scheduling's Introduction

Loop Unrolling and Scheduling in RISC-V Processor using Ripes Simulator

Overview

This project demonstrates the implementation of loop unrolling and scheduling techniques in a RISC-V processor using the Ripes simulator. The purpose of this project is to optimize the performance of code execution by manually unrolling loops and scheduling instructions to improve pipeline efficiency.

Getting Started

To run the simulations and tests, follow these steps:

  1. Open Ripes Simulator
  2. Run the programs to observe effects of unrolling and scheduling

How it Works

Loop Unrolling

Loop unrolling is a technique where multiple iterations of a loop are executed in a single iteration. This reduces the overhead of loop control instructions and enables better utilization of pipeline stages. In our implementation, we manually unroll loops in the test programs to demonstrate the performance improvements.

Instruction Scheduling

Instruction scheduling involves rearranging the order of instructions to minimize pipeline stalls and improve throughput. By reordering instructions, we aim to keep the processor busy and avoid data hazards. The test programs showcase different scheduling strategies and their impact on execution time.

The program uses 5-stage processor with forwarding unit

loop_unrolling_and_scheduling's People

Contributors

dhatri2003 avatar

Stargazers

Nandan avatar  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.