litescope: use full name in io.py
This commit is contained in:
parent
23ba1ccb52
commit
23126415d3
|
@ -4,8 +4,8 @@ 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._input = CSRStatus(dw)
|
||||
self._output = CSRStorage(dw)
|
||||
|
||||
self.i = self._i.status
|
||||
self.o = self._o.storage
|
||||
self.i = self._input.status
|
||||
self.o = self._output.storage
|
||||
|
|
|
@ -11,7 +11,7 @@ class LiteScopeIODriver():
|
|||
setattr(self, key, value)
|
||||
|
||||
def write(self, value):
|
||||
self.o.write(value)
|
||||
self.output.write(value)
|
||||
|
||||
def read(self):
|
||||
return self.i.read()
|
||||
return self.input.read()
|
||||
|
|
Loading…
Reference in New Issue