Git Product home page Git Product logo

Comments (6)

hanchenye avatar hanchenye commented on August 10, 2024 1

Yes, I think that's correct!

from circt.

mikeurbach avatar mikeurbach commented on August 10, 2024 1

@hanchenye I think we can close this now.

from circt.

mikeurbach avatar mikeurbach commented on August 10, 2024

@hanchenye @stephenneuendorffer I started taking a look at this, and I have a question about the ops that implement the MergeLikeOpInterface. In these ops, it seems like we should apply the SameOperandsAndResultType trait. We don't have that right now, but does that constraint make sense here?

from circt.

hanchenye avatar hanchenye commented on August 10, 2024

@mikeurbach I think the select signal of MuxOp is not necessary to have the same type with other operands.

from circt.

mikeurbach avatar mikeurbach commented on August 10, 2024

Ah, true. I guess I am specifically referring to the data operands (as returned by the dataOperands method on MergeLikeOpInterface). These operands should always have the same type (and have the same type as the result), correct?

from circt.

mikeurbach avatar mikeurbach commented on August 10, 2024

@hanchenye I have been looking into MergeOp and ControlMergeOp next, and I just want to check in before digging too far into the implementation. I reviewed Section 3.4 and Figure 7 here. My understanding is Handshake's ControlMergeOp op is what they implement in Figure 7., i.e. it reports the index of the selected input as an output.

I had previously mentioned I would start with implementing MergeOp since it is simpler, but now I'm thinking it would be advantageous to start with the trickier ControlMergeOp. Then we can factor out the common part, and just leave off the unneeded aspects when implementing MergeOp. If that all sounds good I'll plan on sharing a PR for ControlMergeOp next.

from circt.

Related Issues (20)

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.