vpr/src/timing/timing_util.cpp
//Return the criticality of a net's pin in the CLB netlist
Return the criticality of a net's pin in the CLB netlist
Return the criticality of a net ' s pin in the CLB netlist
float calculate_clb_net_pin_criticality(const SetupTimingInfo& timing_info, const ClusteredPinAtomPinsLookup& pin_lookup, ClusterPinId clb_pin) {
    float clb_pin_crit = 0.;
    for (const auto atom_pin : pin_lookup.connected_atom_pins(clb_pin)) {
        clb_pin_crit = std::max(clb_pin_crit, timing_info.setup_pin_criticality(atom_pin));
    }
    return clb_pin_crit;
}
float calculate_clb_net_pin_criticality ( const SetupTimingInfo & timing_info , const ClusteredPinAtomPinsLookup & pin_lookup , ClusterPinId clb_pin ) { float clb_pin_crit = 0. ; for ( const auto atom_pin : pin_lookup . connected_atom_pins ( clb_pin ) ) { clb_pin_crit = std :: max ( clb_pin_crit , timing_info . setup_pin_criticality ( atom_pin ) ) ; } return clb_pin_crit ; }
Return the criticality of a net's pin in the CLB netlist
Return the criticality of a net ' s pin in the CLB netlist
//There may be multiple atom netlist pins connected to this CLB pin //Take the maximum of the atom pin criticality as the CLB pin criticality