blob: 6bb440c84cc0fa441ec0a2c2ed8fbd78464bc3a3 [file] [log] [blame]
#ifndef VRP_DOMAIN_PAIR_H
#define VRP_DOMAIN_PAIR_H
#include "tatum/TimingGraphFwd.hpp"
//A pair of clock domains
struct DomainPair {
DomainPair(tatum::DomainId l, tatum::DomainId c)
: launch(l)
, capture(c) {}
tatum::DomainId launch;
tatum::DomainId capture;
friend bool operator<(const DomainPair& lhs, const DomainPair& rhs) {
return std::tie(lhs.launch, lhs.capture) < std::tie(rhs.launch, rhs.capture);
}
};
#endif