Skip to content

Commit 47adbe1

Browse files
committed
litespi/__init__.py: Remove LiteSPIWrapper since unused.
1 parent 3294479 commit 47adbe1

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

litespi/__init__.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,3 @@ def __init__(self, phy, clock_domain="sys",
118118
crossbar.master.source.connect(phy.sink),
119119
phy.source.connect(crossbar.master.sink),
120120
]
121-
122-
class LiteSPIWrapper(LiteXModule):
123-
autocsr_exclude = {"ev"}
124-
def __init__(self, pads=None, module=None, phy=None, **kwargs):
125-
assert pads is not None or module is not None, "Either pads or module must be provided."
126-
# PHY.
127-
self.phy = LiteSPIPHY(pads, module, **kwargs) if phy is None else phy
128-
129-
# Core.
130-
self.core = LiteSPI(self.phy, **kwargs)
131-
132-
if hasattr(self.core, "bus"):
133-
self.bus = self.core.bus
134-
if hasattr(self.core, "ev"):
135-
self.ev = self.core.ev

0 commit comments

Comments
 (0)