We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28d04ec commit d8b59c0Copy full SHA for d8b59c0
misoclib/mem/litesata/example_designs/platforms/kc705.py
@@ -12,16 +12,9 @@
12
)
13
]
14
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):
+class Platform(kc705.Platform):
23
def __init__(self, *args, **kwargs):
24
- SpecializedPlatform.__init__(self, kc705.Platform(*args, **kwargs))
+ kc705.Platform.__init__(self, *args, **kwargs)
25
self.add_extension(_sata_io)
26
27
def do_finalize(self, fragment):
0 commit comments