forked from Nilanshrajput/AC2MC-simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
hershd23/AC2MC-simulator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
README CS-204 project, RISC-V SIMULATOR, GROUP 13:- Languages:- C++, Electron JavaScript TEAM MEMBERS:- Harshit Malik :- 2017csb1078 Hersh Dhillon :- 2017csb1079 Jeetu Kumar :- 2017csb1083 Shreekanth Ajith :- 2017csb1110 Nilansh Rajput :- 2017csb1092 HOW TO RUN:- On the terminal :- g++ -o executable main.cpp ./executable On the GUI:- Instructions coming soon Phase 1:- Parsed the input file input.txt to input1.txt for assembler directives input1.txt to basicCode.txt for the basic code basicCode.txt to machineCode.txt for the machine code Phase 2:- Implemented data path and control paths to run the Instructions. Implemented all stages i.e. Fetch, Execute, Decode, Memory, Writeback Implemented inter state buffers, memory unit and register files for the same Phase 3:- Implemented pipeline structure with and without data forwarding Phase 4:- Implemented data and instruction caches Features:- Functionality to switch between 1. Non- pipelined 2. Pipelined with stalls 3. Pipelined with Data forwarding Functionality to output register values and values of the inter state buffers Functionality to run cycle by cycle Give out number of mispredictions, number of stalls etc. Print register values and inter state buffers after every cycle. Instructions not supported:- - auipc, lui and pseudo instructions not handled. - Assumption, code would be free of the syntax errors. Direct Mapping was implemented for the data and instruction caches. GUI :- Electron framework - Node JS backend - HTML CSS frontend
About
RISC-V SIMULATOR
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C++ 100.0%