GithubHelp home page GithubHelp logo

cnvme's People

Contributors

csm10495 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cnvme's Issues

Don't check ACQS/ASQS/ASQB in Controller::checkForChanges()

Do these checks in checkForChanges() in ControllerRegisters. That way it can be handled immediately after the change occurs. Also we can modify ValidSubmissionQueues via that flow as well.

This will be interesting because technically a user can move the admin queue at runtime. Fancy.

Add basic test

Bring controller up to RDY == 1 then send a command. Check that the SQHD was 0. Then send one more, make sure SQHD was 1.

Only one command executed because index is moved up once

Controller::checkForChanges() should update via setIndex at the end of processing. We should use a while loop to pass all commands in the delta to processCommandAndPostCompletion().

Right now it only does on command max per check and will skip over all but one here.

Probably a good place to chance to possibly update Queue to have a head/tail field. The idea would be that the head would move up one command at a time until it == tail.

Make ASSERT() into a function.

Also have it actually stop program execution in place. Release builds should have it stop, while debug should have it throw (or something like that).

ACQS and ASQS are 0-based.

Spec violation: currently the Controller is thinking of ACQS and ASQS as being 1-based. Should be 0-based.

Flip phase tag

Phase tag should be flipped by the controller after wrapping around.

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.