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

nmigen/lib/fifo.py: syncfifo domain option #619

Closed
wants to merge 1 commit into from

Conversation

feede7
Copy link

@feede7 feede7 commented Jun 13, 2021

Hi, here there is a propousal tu use a SyncFifo in another domain different than sync

@rroohhh
Copy link
Contributor

rroohhh commented Jun 13, 2021

I believe this is usually done using DomainRenamer, for example:

m = Module()
m.submodules += DomainRenamer("other_domain")(SyncFIFO(width = 123, depth = 123))

Is this not working for you?

@feede7
Copy link
Author

feede7 commented Jun 13, 2021

I really didn't know it. I'll probe it, but I was expecting pass a domain name instead 😅

@whitequark
Copy link
Member

Yes, @rroohhh is correct: DomainRenamer is the intended way to change the domain of a fully synchronous module.

@whitequark whitequark closed this Jun 13, 2021
@feede7 feede7 deleted the syncfifo-domain branch June 13, 2021 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants