def attachOnChipIO(self, bus, bridge=None, **kwargs):
    self._attach_io(self._on_chip_devices(), bus, **kwargs)
    if bridge:
        bridge.ranges = self._off_chip_ranges
def attachOnChipIO(self, bus, bridge=None, **kwargs):
    self._attach_io(self._on_chip_devices(), bus, **kwargs)
    if bridge:
        bridge.ranges = self._off_chip_ranges