litex/misoclib/tools/litescope/frontend/io.py
2015-05-01 17:49:31 +02:00

11 lines
282 B
Python

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