Coder Social home page Coder Social logo

merledu / buraq_mini Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 6.0 1.84 MB

This repository contains the 5 stage pipelined CPU implemented on the RISC-V ISA and Chisel hardware construction language (HDL)

License: Apache License 2.0

Scala 60.15% Makefile 1.00% TeX 38.85%
risc-v buraq-mini open-mpw chisel3 riscv32im

buraq_mini's Introduction

Buraq-Mini: An In-Order Fully Bypassed RISC-V Core

Buraq-Mini is a 5 stage pipelined processor which is made in Chisel from scratch and is used inside the "Ibtida SoC" which is selected for the first open-source ASIC tapeout in the Google + Efabless Open MPW Shuttle program.

block diagram
\

Note:

This repository standalone does not build. Check the decoupled-interface branch for more details on how to build the repository.

buraq_mini's People

Contributors

hadirkhan10 avatar hadirkhan499 avatar sajjad3052 avatar sajjadahmed677 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

buraq_mini's Issues

Have to manually change the file path for program file

Right now we have to manually provide the path of program file that is to be loaded in the instruction memory. Since we are working on multiple platforms (Linux, Mac) each user has to provide the location of the file manually. Let's make a functionality of dynamic path loading of program file, which finds the correct path of the program file itself from the user's environment.

Fetch Unit Needs Modification

Current fetch unit of Buraq_Mini is aligned with async memory model which should be aligned with sync memory model and should have support for misaligned fetch.

M Extension

The Buraq-mini compute must have an M-extension for support of multiply and divide instructions.

C for loop with arrays not working

Running the risc-v benchmark tests were failing while using arrays of large numbers. The compiler creates an assembly which uses Lui instruction that is yet to be implemented in the core.

Store Byte/ Store Half Word issues

store byte and store half word instructions needs to be properly handled along with OpenRam memory model and tilelink. current issue is read modify write operation, when an instruction of sb or sh is encountered. it is dependent upon OpenRam memory model, whether it will be a read modify write operation(which takes multiple cycles) or writing particular byte into the memory.

LSU module needs modification.

Right now there is no check for detecting misaligned load store operations so, Load store unit needs to be modified for misaligned load store operations. it should also be aligned with the OpenRam memory model.

Loading Instruction Memory through UART

@hadirkhan10 what if? we read an instruction file in UART test bench for loading instruction memory, rather then arranging instructions in an array inside UART test bench. it will save the time of arranging instructions in an array.

Long array isn't working.

Array of more than 14 elements is not working while using BURQ generated assembly. reason is AUIPC, LB and SB instructions are not implemented.

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.