From db96b88d790e3ca541ea33898681ede2b2c01e7e Mon Sep 17 00:00:00 2001
From: whitequark <whitequark@whitequark.org>
Date: Thu, 29 Nov 2018 00:12:35 +0000
Subject: ice40: raise CE global promotion threshold.

---
 ice40/pack.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ice40')

diff --git a/ice40/pack.cc b/ice40/pack.cc
index 170b25e7..2e151d3f 100644
--- a/ice40/pack.cc
+++ b/ice40/pack.cc
@@ -565,7 +565,7 @@ static void promote_globals(Context *ctx)
 {
     log_info("Promoting globals..\n");
     const int logic_fanout_thresh = 15;
-    const int enable_fanout_thresh = 5;
+    const int enable_fanout_thresh = 15;
     std::map<IdString, int> clock_count, reset_count, cen_count, logic_count;
     for (auto net : sorted(ctx->nets)) {
         NetInfo *ni = net.second;
-- 
cgit v1.2.3