0mega28 / cpu-simulator Goto Github PK
View Code? Open in Web Editor NEWCENOS: The Modern CPU Simulator
License: GNU General Public License v3.0
CENOS: The Modern CPU Simulator
License: GNU General Public License v3.0
for now, we are able to load signed 4-bit 2's complement value in a register.
And also we have to fix the below line of code
Line 4 in 1e053b2
We cannot use #512 as an immediate value since our immediate value can only have a signed 4-bit size.
We have to add some operator like LI (load immediate) so that we can have support for an immediate value of signed 8-bit.
LI R1 #100
If hlt instruction is not present in an assembly source file, the simulator will be stuck in an infinite loop writing a large amount of data to the log file.
This can lead to a system crash.
What we can do is modify the PC in the Decode stage by adding a small ALU unit that calculates the target address.
We have to remove these line by fixing usage of r* in fu_status
CPU-Simulator/src/simulator/Retire.hpp
Lines 63 to 64 in 0cfca50
for reference of implementation of different stages of pipeline refer scoreboarding wikipedia
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.