Skip to content

Commit d8b59c0

Browse files
committedMar 14, 2015
litesata: avoid hack on kc705 platform with new mibuild toolchain management
1 parent 28d04ec commit d8b59c0

File tree

1 file changed

+2
-9
lines changed
  • misoclib/mem/litesata/example_designs/platforms

1 file changed

+2
-9
lines changed
 

‎misoclib/mem/litesata/example_designs/platforms/kc705.py

+2-9
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,9 @@
1212
)
1313
]
1414

15-
class SpecializedPlatform:
16-
def __init__(self, platform):
17-
self._platform = platform
18-
19-
def __getattr__(self, name):
20-
return getattr(self._platform, name)
21-
22-
class Platform(SpecializedPlatform):
15+
class Platform(kc705.Platform):
2316
def __init__(self, *args, **kwargs):
24-
SpecializedPlatform.__init__(self, kc705.Platform(*args, **kwargs))
17+
kc705.Platform.__init__(self, *args, **kwargs)
2518
self.add_extension(_sata_io)
2619

2720
def do_finalize(self, fragment):

0 commit comments

Comments
 (0)
Please sign in to comment.