From 282d74af1e0e07e8f7dc2104936252df2c1b41e5 Mon Sep 17 00:00:00 2001 From: lehaifeng Date: Tue, 7 Nov 2023 11:05:14 +0800 Subject: [PATCH] Update prjxray_edge_library.py in some cases, the last edges can't be written into the "channels.db" file --- xilinx/common/utils/prjxray_edge_library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xilinx/common/utils/prjxray_edge_library.py b/xilinx/common/utils/prjxray_edge_library.py index c54b8a022a..67fe91028e 100644 --- a/xilinx/common/utils/prjxray_edge_library.py +++ b/xilinx/common/utils/prjxray_edge_library.py @@ -2155,7 +2155,7 @@ def create_and_insert_edges( edge_set.add(key) edges.append(connection) - if len(edges) > 1000: + if len(edges) > 0: commit_edges(write_cur, edges) num_edges += len(edges)