Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Integrate support for stream port connections on objectfifos#2693

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
jackl-xilinx wants to merge18 commits intomain
base:main
Choose a base branch
Loading
fromhalf-objfifo

Conversation

@jackl-xilinx
Copy link
Collaborator

@jackl-xilinxjackl-xilinx commentedNov 10, 2025
edited by AndraBisca
Loading

To configure the stream port connection, two new objectfifo attributes are introduced:aie_stream andaie_stream_port.

Theaie_stream attribute can be:

  • 0: indicating that the producer tile will send the data via the aie stream on the specifiedaie_stream_port, the consumer tile will receive this data with its DMA,
  • 1: indicating that the consumer tile will receive the data through the aie stream on the specifiedaie_stream_port, the producer tile will send this data with its DMA,
  • 2: indicating that the producer tile will send the data via the aie stream and the consumer tile will also receive it via the aie stream, both on the specifiedaie_stream_port.

Unlike the DMA ports which are allocated by the objectfifo lowering, the user has to configured the port of the stream connection as the same port will be used when writing the C kernel that will get/put data on the stream.

These attributes can also be configured at IRON level, using the objectfifo functionset_aie_stream():

of3 = object_fifo("of3", S, C_, 2, np.ndarray[(256,), np.dtype[np.int32]])of3.set_aie_stream(stream_end=1, stream_port=1)

The end of the objectfifo which is configured to use a stream connection will not generate any memory allocations or synchronization resources such as locks. The other end will be generated as before.

TODO:

  • end-to-end IRON example
  • documentation
  • test compatibility with other objectfifo features + error messaging

@jackl-xilinxjackl-xilinx changed the titleIntegrate half-objfifo concept to support stream port connection on one side of an objfifosIntegrate "half-objfifo" concept to support stream port connection on one side of objfifosNov 10, 2025
@AndraBiscaAndraBisca changed the titleIntegrate "half-objfifo" concept to support stream port connection on one side of objfifosIntegrate support for stream port connections on objectfifosNov 24, 2025
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actionsbot commentedNov 24, 2025
edited
Loading

Coverage Report

Created: 2025-11-25 18:34

Clickhere for information about interpreting this report.

FilenameFunction CoverageLine CoverageRegion CoverageBranch Coverage
IR/AIEDialect.cpp 93.57% 86.75% 87.71% 79.55%
Transforms/AIEObjectFifoStatefulTransform.cpp 100.00% 94.79% 92.45% 86.59%
Totals 95.24% 90.95% 89.70% 82.74%
Generated by llvm-cov -- llvm version 18.1.3

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@AndraBiscaAndraBiscaAwaiting requested review from AndraBiscaAndraBisca will be requested when the pull request is marked ready for reviewAndraBisca is a code owner

@denolfdenolfAwaiting requested review from denolfdenolf will be requested when the pull request is marked ready for reviewdenolf is a code owner

@stephenneuendorfferstephenneuendorfferAwaiting requested review from stephenneuendorfferstephenneuendorffer will be requested when the pull request is marked ready for reviewstephenneuendorffer is a code owner

@jgmelberjgmelberAwaiting requested review from jgmelberjgmelber will be requested when the pull request is marked ready for reviewjgmelber is a code owner

@fifieldfifieldAwaiting requested review from fifieldfifield will be requested when the pull request is marked ready for reviewfifield is a code owner

@hunhoffehunhoffeAwaiting requested review from hunhoffehunhoffe will be requested when the pull request is marked ready for reviewhunhoffe is a code owner

@andrejandrejAwaiting requested review from andrejandrej will be requested when the pull request is marked ready for reviewandrej is a code owner

@pvasireddy-amdpvasireddy-amdAwaiting requested review from pvasireddy-amdpvasireddy-amd will be requested when the pull request is marked ready for reviewpvasireddy-amd is a code owner

@erwei-xilinxerwei-xilinxAwaiting requested review from erwei-xilinxerwei-xilinx will be requested when the pull request is marked ready for reviewerwei-xilinx is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@jackl-xilinx@abisca@AndraBisca

[8]ページ先頭

©2009-2025 Movatter.jp