Skip to content
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

Generate reconfigurable hardware #2

Open
hansemandse opened this issue Aug 16, 2023 · 0 comments
Open

Generate reconfigurable hardware #2

hansemandse opened this issue Aug 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@hansemandse
Copy link
Member

The constant matrix-vector multiplication hardware currently produced by the tool is highly efficient, yet it provides no flexibility in terms of changing weights at runtime. It is an interesting design point to consider similar circuits with this functionality available.

We expect the overheads from barrel shifters and control and storage logic to be rather significant, but it may still be possible to achieve higher area efficiency than with a fully exact, rolled-out matrix multiplication unit.

For this implementation to work, the tool needs to be able to encode factors into a format that is understandable by the hardware with minimal overheads. One possible solution for this is a combined (sign, shift amount) format, in which shift amount is a two's complement integer. It is not yet well-established how to handle special cases of $\pm0.0$ and $\pm1.0$ factors in this format.

@hansemandse hansemandse added the enhancement New feature or request label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant