Git Product home page Git Product logo

mips-processor's People

Contributors

dkabala avatar hekemp avatar

Watchers

 avatar  avatar

mips-processor's Issues

ALU Switch and ALU Control misalignment

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.

There is no output for any tests

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.

Test outputs

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.