Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.12 KB

README.md

File metadata and controls

20 lines (14 loc) · 1.12 KB

CA_project

Cycle accurate simulator for a 5 staged pipelined RISC-V CPU.

How to Run

  1. Pick any testcase and its binary from Testcases folder (or u can make your own testcase)
  2. Output binary destination of binary is in Assembler/Output/Output.bin
  3. Result generated from Evaluation af binary generated by Assembler is placed in Assembler/Result/Assembler_Evaluation.txt
  4. Logs Generated from simulator are placed in logs/logfile.log
  5. Place your assembly language code in Input/Input.txt and its corresponding binary text file in Input/binary.txt
  6. Now to run, Open terminal in this repository directory and type command 'make' (Please note that this run approach will work only in case of linux environment)
  7. Tada!!! Results from Assembler and its Cycle accurate Simulator are ready to view

Some outputs -

image

image

image