Skip to content

This Repo consists of implementation for RISC V Architecture on how instructions are fetched, decoded and executed. I have implemented the Out of order Execution, Dynamic Branch Prediction and Cache Simulations

Notifications You must be signed in to change notification settings

belanasaikiran/Computer-Architecture

Repository files navigation

Computer-Architecture

A UCONN course

Helpful Resources

C Bitwise Operators: https://www.youtube.com/watch?v=BGeOwlIGRGI

RISC V

RiscV-Opcode-Table.png

GDB Debugger

  1. Start GDB debugger for code compilation

    gdb ./simulator
  2. Set a Breakpoint where you want to

    (gdb) break main
  3. Run the Program: Start running the program:

    Copy code
    (gdb) run

    The program will run and pause at the breakpoint you've set.

  4. Find the Struct Information: If you know the name of the struct instance, use the ptype command to print the type definition of the struct. This will reveal all its members.

    For example:

    (gdb) ptype struct_instance

    This will print the struct definition, including the data members (names and types).

About

This Repo consists of implementation for RISC V Architecture on how instructions are fetched, decoded and executed. I have implemented the Out of order Execution, Dynamic Branch Prediction and Cache Simulations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published