-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add dexts operation #36
Conversation
rodonisi
commented
Jun 15, 2020
- the supported types are integers, vectors and signals
- the verifier checks for type conversions and result length not being larger than the input
You might want to consider to add additional class declarations to extract the slice size easily when working with this operation e.g. in passes. Something like this:
Then you can also use these methods to get the widths in the verify method or maybe consider traits like this:
|
Just nitpicking here: if you go for such an approach, I would strongly recommend you assign |
Right, that would be a nice optimization. |
Thanks for the feedback! |
* Added a trait to verify the types with smaller overhead * This trait can also be used to verify the inss operation * Deleted helper functions * Adjusted error messages in the tests
Thanks for adding the extra class declarations!
|
Nice addition, thank you!
which would be simpler than checking the cast though not by much. |
Also thank you for clarifying about the |