Automated power gating methodology for dataflow-based reconfigurable systems