From 23126415d361b60c8a0034064637d39529bb8870 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 1 May 2015 17:23:44 +0200 Subject: [PATCH] litescope: use full name in io.py --- misoclib/tools/litescope/frontend/io.py | 8 ++++---- misoclib/tools/litescope/host/driver/io.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/misoclib/tools/litescope/frontend/io.py b/misoclib/tools/litescope/frontend/io.py index 2f4453eb..16f860ae 100644 --- a/misoclib/tools/litescope/frontend/io.py +++ b/misoclib/tools/litescope/frontend/io.py @@ -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 diff --git a/misoclib/tools/litescope/host/driver/io.py b/misoclib/tools/litescope/host/driver/io.py index c8e3c3f0..a8019d79 100644 --- a/misoclib/tools/litescope/host/driver/io.py +++ b/misoclib/tools/litescope/host/driver/io.py @@ -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() -- 2.30.2