Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migen/actorlib/fifo: add FIFO wrapper function
Allow automatic instantiation of the correct fifo (SyncFIFO or AsyncFIFO) according to the clock domains passed in argument.
- Loading branch information
d0a19c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope.
ClockDomainsRenamer
syntax is too heavy then that syntax should be fixed. Adding a kludge on top of it is the way to autoconf-style software.d0a19c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack. (I replaced it by a specific function in UART core)
The main reason was in fact to autoselect the fifo, but since this is only used for UART now and I don't see many use cases for that you are probably right :)