Skip to content

Commit f7bc161

Browse files
committed
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
1 parent 1829a5e commit f7bc161

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libtatum/tatum/TimingGraph.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,9 @@ bool TimingGraph::validate_structure() const {
731731

732732
} else if (src_type == NodeType::CPIN) {
733733
if( sink_type != NodeType::SOURCE
734-
&& sink_type != NodeType::SINK) {
735-
throw tatum::Error("CPIN nodes should only drive SOURCE or SINK nodes", src_node, out_edge);
734+
&& sink_type != NodeType::SINK
735+
&& sink_type != NodeType::OPIN) {
736+
throw tatum::Error("CPIN nodes should only drive SOURCE, OPIN or SINK nodes", src_node, out_edge);
736737
}
737738

738739
if(sink_type == NodeType::SOURCE && out_edge_type != EdgeType::PRIMITIVE_CLOCK_LAUNCH) {

0 commit comments

Comments
 (0)