litex/misoclib/tools/litescope/frontend/io.py
2015-04-02 12:18:43 +02:00

10 lines
230 B
Python

from misoclib.tools.litescope.common import *
class LiteScopeIO(Module, AutoCSR):
def __init__(self, dw):
self.dw = dw
self._i = CSRStatus(dw)
self._o = CSRStorage(dw)
self.i = self._i.status
self.o = self._o.storage