mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
10 lines
238 B
Python
10 lines
238 B
Python
from misoclib.tools.litescope.common import *
|
|
|
|
class LiteScopeIO(Module, AutoCSR):
|
|
def __init__(self, dw):
|
|
self.dw = dw
|
|
self._r_i = CSRStatus(dw)
|
|
self._r_o = CSRStorage(dw)
|
|
|
|
self.i = self._r_i.status
|
|
self.o = self._r_o.storage
|