Git Product home page Git Product logo

vaquita's Introduction

Vaquita

VAQUITA - RISC-V Vector Core

Introduction:

"Vaquita" ๐Ÿฌ, named after the critically endangered Vaquita porpoise, represents a groundbreaking project at the intersection of technology, education, and environmental consciousness. It introduces the RISC-V vector extension, an enhancement to the RISC-V instruction set architecture that introduces powerful support for vector operations. This extension includes vector registers and a comprehensive suite of vector instructions, enabling efficient parallel processing of large datasets.

Getting Started

To begin working with Vaquita and exploring the RISC-V vector extension, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/your-username/vaquita.git
    
  2. Navigate to the project directory:

    cd vaquita
    
  3. Edit the path to the input text file in the test configuration. Open src/main/scala/rvv/RISC5.scala and replace /home/yourname/vaquita/vector_input.txt with the path to your local machine's input text file.

  4. Build the project using SBT (Scala Build Tool):

    sbt
    
  5. Once you're in the SBT interactive shell, you can run the test suite with VCD (Value Change Dump) output enabled. To run the tests for the RISC-V vector processor with VCD output, use the following command:

    testOnly rvv.RISC5Test -- -DwriteVcd=1 

This command will execute the test suite for the RISC-V vector processor and generate VCD files for debugging and analysis.

  1. The test case being run is as follows:

    vsetvli x1, x2, e16, m1, vma
    lui x1, 0xa
    srli x2, x1, 12
    vmv.v.v v0, v1, x2
    vadd.vi v3, v7, 3, vm=0
    
  2. The expected output on register v3 will be Result

This output represents the result of the vadd.vi operation where each element of vector v3 is incremented by 3.

Contributing:

We welcome contributions from the community to make VAQUITA even better.

Happy coding! ๐Ÿš€

vaquita's People

Contributors

samadpls avatar hamnamohi avatar hafsa-shoaib989 avatar myrausman avatar syedhassanulhaq avatar latifbhatti avatar saadali05 avatar shahzaibk23 avatar

Stargazers

Ahmed Farhan avatar Tahamallick avatar Ahsan Toufiq 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.