GithubHelp home page GithubHelp logo

gama's People

Contributors

sdtwigg avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

gama's Issues

Wire connect smashing

Wire connect smashing can currently emit mux trees of signed and unsigned things together. Should ensure all sources are padded (using zero or sign extension depending on the source) or extracted to the wire length, THEN casted to the wire type, and then that is used to make the mux.

Alternatively, may be better to have a pass that 'tightens up' all connects. Could also tighten up expressions too in a different pass.

Memory RW port?

Not quite sure the best solution. Perhaps a new command entry?

Connect priorities?

Krste suggested a generalized solution for the rest issue is to allow connect statements to have attached priorities.

Could be somewhat easily implemented by having the connect journal sort based on priority.

MSB?

For extraction operations, instead of merely taking an integer, be able to take the flag MSB or expression MSB - [integer]. After width inference, replace these with the appropriate numbers.

Note that before width inference, the width will likely be unknown (optionally, if the source width is known, could determine the output width or simply remove the MSB reference)

TODO: CONSIDER: Ensure that future passes don't add to the width of a RefExtract that has had MSB removed... or at least do it very carefully.

Rename OpId AsU/SInt

Rename to asUnsigned/assigned

This avoids confusion since operation applies to UInt in frontend and UBits in the backend.

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.