-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Handshake] Add
handshake::BundleOp
and handshake::UnbundleOp
This introduces two new reciprocal operations to Handshake that allow to go back and forth between "compound Handshake types" (`!handshake.channel` and `!handshake.control`) and the individual signals that make them up (making it possible to manipulate them individually). These have rather complex (though almost identical) verification logic to ensure that the conversion, whatever the direction, is valid. Many new unit tests check that the implementation produced an error for all possible types of invalid conversions. The operations' assembly format is a bit verbose at the moment, this should be improved in a future commit.
- Loading branch information
1 parent
bebfb02
commit 9fef8a5
Showing
10 changed files
with
486 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.