isPresent property

bool isPresent

Indicates whether the clock gating is present. If it is not present, then the gatedClk is directly connected to the free clock and the controlled signals are not delayed.

Implementation

bool get isPresent =>
    _controlIntf?.isPresent ??
    // if no interface is provided, then _controlInterface is initialized with
    // `isPresent` as true, so if this is null then there is no clock gating
    false;