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

Rose/Fell still not being DomainRenamed correctly? (SyncSerialILA not working reliably in other domains) #69

Closed
miek opened this issue Aug 29, 2020 · 1 comment
Labels

Comments

@miek
Copy link
Member

miek commented Aug 29, 2020

I've been trying to use the SyncSerialILA in non-sync domains and have been having issues with it either returning all zeroes, or random garbage. I can reliably reproduce that by modifying the basic_ila_fast_domain example to run in the usb domain.

I tried setting up the SyncSerialILA's SPI interface to output a fixed word to exclude any issues with the ILA itself and I was still getting zeros out. I eventually narrowed it down to no edges occuring on the SPIDeviceInterface's output_edge (by routing that out to one of the user IOs and watching it on the scope while apollo did the download).

If I modify the Rose/Fell calls in spi_edge_detectors to use domain="usb" then everything seems to work correctly. This was supposed to be fixed by #30 but maybe there's some other corner case happening here? I don't know how to inspect the nMigen elaboration process well enough to debug that further.

(Also here's the IRC discussion that led to the PR above: https://freenode.irclog.whitequark.org/nmigen/2020-07-12#27492949;)

@straithe straithe added the bug label Feb 19, 2021
@miek
Copy link
Member Author

miek commented May 23, 2024

Uses of Rose/Fell were removed in #231

@miek miek closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants