Skip to content

Rocky-921/ScalarSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ScalarSimulation

Simulated the scalar processor using C++

commands to execute in terminal:- g++ main.cpp ./a.out

  • Place DCache.txt, ICache.txt, RF.txt in input folder as specified in pdf
  • Output.txt, DCache.txt will be generated in output folder as specified in pdf

Instruction Set:-

ADD    :	0
SUB : 1
MUL : 2
INC : 3
AND : 4
OR : 5
XOR : 6
NOT : 7
SLLI : 8
SRLI : 9
LI : a
LD : b
ST : c
JMP : d
BEQZ : e
HLT : f

About

Simulated the scalar processor using C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published