File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1212
1313import dotenv
1414from amaranth import *
15- from amaranth .lib .wiring import PureInterface
1615
1716from . import StepBase
1817from .. import ChipFlowError
1918from ..platforms import SiliconPlatform , top_interfaces , load_pinlock
19+ from ..platforms .utils import PinSignature
2020
2121
2222logger = logging .getLogger (__name__ )
@@ -48,7 +48,7 @@ def elaborate(self, platform: SiliconPlatform):
4848 for iface_name , member , in iface .items ():
4949 for name , port in member .items ():
5050 iface = getattr (top [component ], iface_name )
51- wire = (iface if isinstance (iface , PureInterface )
51+ wire = (iface if isinstance (iface . signature , PinSignature )
5252 else getattr (iface , name ))
5353 platform .ports [port .port_name ].wire (m , wire )
5454 return m
You can’t perform that action at this time.
0 commit comments