src/mem/ruby/common/NetDest.cc
// returns the logical AND of "this" set and andNetDest
returns the logical AND of "this" set and andNetDest
returns the logical AND of " this " set and andNetDest
NetDest
NetDest::AND(const NetDest& andNetDest) const
{
    assert(m_bits.size() == andNetDest.getSize());
    NetDest result;
    for (int i = 0; i < m_bits.size(); i++) {
        result.m_bits[i] = m_bits[i].AND(andNetDest.m_bits[i]);
    }
    return result;
}
NetDest NetDest :: AND ( const NetDest & andNetDest ) const { assert ( m_bits . size ( ) == andNetDest . getSize ( ) ) ; NetDest result ; for ( int i = 0 ; i < m_bits . size ( ) ; i ++ ) { result . m_bits [ i ] = m_bits [ i ] . AND ( andNetDest . m_bits [ i ] ) ; } return result ; }
returns the logical AND of "this" set and andNetDest
returns the logical AND of " this " set and andNetDest