GithubHelp home page GithubHelp logo

2023_fall_comarch_pa3's Introduction

2023_fall_comarch_PA3

Code Description

  1. alu.v
  • Implementation of alu
  • AND, OR, XOR, ADD, SUB Operations are supported
  1. control.v
  • Implementation of control unit
  • AND(i) / OR(i) / XOR(i) / ADD(i) / SUB / Load / Store Instructions are supported
  1. inst_decoder.v
  • Implementation of instruction decoder
  • AND(i) / OR(i) / XOR(i) / ADD(i) / SUB / Load / Store Instructions are supported
  1. memory.v
  • Implementation of data memory and instruction memroy
  • Instruction Load / Data Load / Data Store function are supported
  1. reg.v
  • Implementation of register
  • We assume that write is in the first half of the clock cycle, and the read is in the second half, so the read delivers what is written
  1. riscv_pipeline.v
  • Implementation of base pipeline
  1. tb.v
  • Implementation of reference clock and reset signal

Test bench Description

  • sample test bench : sample1.dat, sample2.dat, sample3.dat, sample4.dat
  • evaulation test bench : branch.dat, dhazard.dat, perf1.dat, perf2.dat, perf3.dat

Helper program (riscv-assembler.tar)

  • It converts code written in RISC-V assembly into binary format

For more detailed explanations, please refer to the provided materials related to PA3

2023_fall_comarch_pa3's People

Contributors

kjh0615 avatar

Forkers

jstamz

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.