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