timvideos / qemu-litex

Other
2 stars 2 forks source link

Create litex helper functions for dealing with event manager (EV) objects #21

Open mithro opened 7 years ago

mithro commented 7 years ago

EventManager (EV) objects are used all over LiteX / MiSoC. They have a common structure of 3 registers (status, pending and enable) and way of the irq being asserted. Currently the same code is duplicated in multiple places (and frequently not quite right).

This is needed for the timer, ethernet and uart peripherals at a minimum.