rpolley / mips-processor Goto Github PK
View Code? Open in Web Editor NEWa mips processor in logisim
a mips processor in logisim
The diagram in the book on page 376 seems to say to connect the 'ALU Control' output from the control unit should be connected to ALU's 'switch' input, however 'ALU Control' is 3 bits wide and 'switch' is 4 bits wide.
Run the test 'make p2sc' with this branch. Unless I'm missing something the registers never change value from 00000000 for any test you run.
Func_test: $sp is set to 0x00000014, should not change.
$s0 is set to 0x0000000c, should be 0x00000024
$s1 is set to 0x00000014, should be 0x00000010
Test3: $s1 should be 0x00000020 but is 0x00000008 (sll problem)
Test5: $s0 should be 0x7fffffff (add $s0, $zero, 0x7fffffff) but is 0xffffffff
Test6: I have to ask prof Myers about this before I'm sure of the correct result.
Test1 passes, tests 2 and 4 I have commented out. They just crash with "Invalid literal for int with base 2 '' ". Something with this finicky .out formatting I have to sort out.
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.