Squashed 'libs/EXTERNAL/libtatum/' changes from ee66714ea..751112a2c 751112a2c Allow CPIN -> OPIN connections in timing graphs git-subtree-dir: libs/EXTERNAL/libtatum git-subtree-split: 751112a2c6632e36ba5a8dce651b5bd159622fb3
diff --git a/libtatum/tatum/TimingGraph.cpp b/libtatum/tatum/TimingGraph.cpp index f897851..ab46e91 100644 --- a/libtatum/tatum/TimingGraph.cpp +++ b/libtatum/tatum/TimingGraph.cpp
@@ -731,8 +731,9 @@ } else if (src_type == NodeType::CPIN) { if( sink_type != NodeType::SOURCE - && sink_type != NodeType::SINK) { - throw tatum::Error("CPIN nodes should only drive SOURCE or SINK nodes", src_node, out_edge); + && sink_type != NodeType::SINK + && sink_type != NodeType::OPIN) { + throw tatum::Error("CPIN nodes should only drive SOURCE, OPIN or SINK nodes", src_node, out_edge); } if(sink_type == NodeType::SOURCE && out_edge_type != EdgeType::PRIMITIVE_CLOCK_LAUNCH) {