litex/misoclib/tools/litescope/frontend/io.py

11 lines
230 B
Python
Raw Normal View History

from misoclib.tools.litescope.common import *
2012-09-12 16:19:42 -04:00
class LiteScopeIO(Module, AutoCSR):
2015-01-27 15:08:24 -05:00
def __init__(self, dw):
self.dw = dw
2015-04-02 06:18:43 -04:00
self._i = CSRStatus(dw)
self._o = CSRStorage(dw)
2013-09-21 07:04:07 -04:00
2015-04-02 06:18:43 -04:00
self.i = self._i.status
self.o = self._o.storage