Code Monkey home page Code Monkey logo

computer_architecture's Introduction

Computer_Architecture

Introduction

TODO

Overview

This program was built for the purpose simulating the RISC-V architecture. It simulates hardware components, memory, and decoding/encoding/execution of instructions given to the simulator via binary files. The simulator begins by waiting for user input and giving an appropriate usage message. The user has an array of options available to run the simulation including several dump functions, memory size limits, and instruction size limitations.

The simulation also interacts with a registerfile which has simulated GPR's to hold and execute the instructions. As the code is based on real architeture, it has many functions including a tick() function to simulate a working computer clock that will sync instructions.

Once the user has defined options they would like to use and given a binary file the simulator will allocate the appropriate memory size needed. It will continue to manage this memory as the simulation continues. Afterwards the file is read and decoded, and the instructions are either recongized and dumped or executed based on user option commands.

Tech Stack

The tech stack I used included:

  • C++
  • bash

Getting Started

Pre-requisites and Local Development

TODO

Authors

Kofi Adu-Gyan

Acknowledgements

My CSCI 463 proffesor, who was a great help, John Winans.

computer_architecture's People

Contributors

adugyan 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.