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

Enable init values for Object FIFO #1813

Open
wants to merge 86 commits into
base: main
Choose a base branch
from
Open

Enable init values for Object FIFO #1813

wants to merge 86 commits into from

Conversation

AndraBisca
Copy link
Collaborator

@AndraBisca AndraBisca commented Oct 2, 2024

This PR builds on top of #1801 to enable objectfifos to take as input an array of initial values.

Specifically:

  • initial values should be of the MLIR type ElementsAttr,
  • the above should also be of the same memref type as the objectfifo type,
  • the initial values array should be of the same size as the depth of the objectfifo,
  • the objectfifo lowering is modified to generate AIE_LockOps with init values such that the initialized objects will not be overwritten before they are communicated to the consumer(s).

This test shows a vector_vector_add example where one of the vectors is initialized in L2 with an objectfifo.

Builds on top of #1842

abisca and others added 30 commits October 1, 2024 08:19
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…u-xrt/objectfifo_repeat); delete unused cmake files
abisca and others added 24 commits November 7, 2024 11:18
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@AndraBisca AndraBisca marked this pull request as ready for review November 13, 2024 00:42
@AndraBisca AndraBisca changed the title [WIP] Enable init values for Object FIFO Enable init values for Object FIFO Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants