m-labs / misoc

The original high performance and small footprint system-on-chip based on Migen™
https://m-labs.hk
Other
305 stars 85 forks source link

UART: Evaluate irq conditions and choose the best #16

Closed enjoy-digital closed 9 years ago

enjoy-digital commented 9 years ago

An "almost-empty" solution should have both advantages without costing too much ressources. It has to be evaluated.

enjoy-digital commented 9 years ago

An optimal solution for both sync and async mode is not easy to implement, it would require moving CDC out of UART module and handling in the PHY with AsyncFIFO or minimal depth. For now use the solution that works for both cases. We'll try to optimize that if we have performance issues.