classified56 / drexel-disco-risc-v-simulator-c-impl Goto Github PK
View Code? Open in Web Editor NEWThis project forked from shihao-song/drexel-disco-risc-v-simulator-c-impl
This project forked from shihao-song/drexel-disco-risc-v-simulator-c-impl
This is the C implementation of Davis Ranney's (dr847) RISC-V core simulator. I completed the core structure in a single cycle, non-pipelined manner. After the instructions are translated to binary using the parser, the core takes over, and runs each instruction through the method decode and execute, which deciphers what the instruction should do, what data to do it on, and then does it. It basically reverse-engineers the parser's job to convert the instructions to binary by decoding the binary and using it to grab certain register data and execute the necessary instructions. As per Shihao Song's instructions, I did not fully implement the branching instructions. What I did do was properly have it change the PC, but not change what instructions were then executed. For part 2, I will implement it properly so that it loops through the instructions again and gets the proper instruction to execute next. Because I was unable to complete the branching instructions, I wasn't able to run my implementation of the matrix problem, though it is in the cpu_traces folder titled 'matrix_trace.' I documented the code by hand and deduced that it worked correctly though. The final memory should start at the base of the memory and be stored in address 0, 8, 16, 24 respectively for out[0], out[1], out[2], and out[3]. To compile: make To run: ./RVSim cpu_traces/example_cpu_trace
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.