from ..circuit import isdefinition
from ..clock import wiredefaultclock
from .passes import DefinitionPass

__all__ = ['WireClockPass']

class WireClockPass(DefinitionPass):
    def __call__(self, definition):
        for instance in definition.instances:
            wiredefaultclock(definition, instance)

