libopenfpga/libarchopenfpga/src/check_circuit_library.cpp
/************************************************************************
 * Check the port requirements for each power-gated circuit model 
 ***********************************************************************/
Check the port requirements for each power-gated circuit model
Check the port requirements for each power - gated circuit model
static 
int check_power_gated_circuit_models(const CircuitLibrary& circuit_lib) {
  int num_err = 0;
  for (const CircuitModelId& circuit_model : circuit_lib.models()) {
    if (true == circuit_lib.is_power_gated(circuit_model)) {
      num_err += check_power_gated_circuit_model(circuit_lib, circuit_model);
    }
  }
  return num_err;
}
static int check_power_gated_circuit_models ( const CircuitLibrary & circuit_lib ) { int num_err = 0 ; for ( const CircuitModelId & circuit_model : circuit_lib . models ( ) ) { if ( true == circuit_lib . is_power_gated ( circuit_model ) ) { num_err += check_power_gated_circuit_model ( circuit_lib , circuit_model ) ; } } return num_err ; }
Check the port requirements for each power-gated circuit model
Check the port requirements for each power - gated circuit model