From d8b59c03a2638c956223d931b42b20b2ed065b20 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 14 Mar 2015 01:08:36 +0100 Subject: [PATCH] litesata: avoid hack on kc705 platform with new mibuild toolchain management --- .../mem/litesata/example_designs/platforms/kc705.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/misoclib/mem/litesata/example_designs/platforms/kc705.py b/misoclib/mem/litesata/example_designs/platforms/kc705.py index 9a8cbdd5..d287d954 100644 --- a/misoclib/mem/litesata/example_designs/platforms/kc705.py +++ b/misoclib/mem/litesata/example_designs/platforms/kc705.py @@ -12,16 +12,9 @@ _sata_io = [ ) ] -class SpecializedPlatform: - def __init__(self, platform): - self._platform = platform - - def __getattr__(self, name): - return getattr(self._platform, name) - -class Platform(SpecializedPlatform): +class Platform(kc705.Platform): def __init__(self, *args, **kwargs): - SpecializedPlatform.__init__(self, kc705.Platform(*args, **kwargs)) + kc705.Platform.__init__(self, *args, **kwargs) self.add_extension(_sata_io) def do_finalize(self, fragment): -- 2.30.2