aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/design_utils.cc2
-rw-r--r--common/design_utils.h2
-rw-r--r--common/log.cc2
-rw-r--r--common/log.h2
-rw-r--r--common/nextpnr.cc2
-rw-r--r--common/nextpnr.h2
-rw-r--r--common/place_sa.cc2
-rw-r--r--common/place_sa.h2
-rw-r--r--common/pybindings.cc2
-rw-r--r--common/pybindings.h2
-rw-r--r--common/pycontainers.h2
-rw-r--r--common/route.cc13
-rw-r--r--common/route.h2
13 files changed, 24 insertions, 13 deletions
diff --git a/common/design_utils.cc b/common/design_utils.cc
index 92533fa3..28237b35 100644
--- a/common/design_utils.cc
+++ b/common/design_utils.cc
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
diff --git a/common/design_utils.h b/common/design_utils.h
index d7f0b733..13e4ec1d 100644
--- a/common/design_utils.h
+++ b/common/design_utils.h
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
diff --git a/common/log.cc b/common/log.cc
index 495f83b1..73c764a4 100644
--- a/common/log.cc
+++ b/common/log.cc
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/common/log.h b/common/log.h
index 65b3f178..ca936745 100644
--- a/common/log.h
+++ b/common/log.h
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/common/nextpnr.cc b/common/nextpnr.cc
index b24f66ea..d29d3fec 100644
--- a/common/nextpnr.cc
+++ b/common/nextpnr.cc
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/common/nextpnr.h b/common/nextpnr.h
index 1cf0cbbb..9c6c9d68 100644
--- a/common/nextpnr.h
+++ b/common/nextpnr.h
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/common/place_sa.cc b/common/place_sa.cc
index 058f0a84..7a876256 100644
--- a/common/place_sa.cc
+++ b/common/place_sa.cc
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* Simulated annealing implementation based on arachne-pnr
diff --git a/common/place_sa.h b/common/place_sa.h
index 3c49c031..1fd8c712 100644
--- a/common/place_sa.h
+++ b/common/place_sa.h
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/common/pybindings.cc b/common/pybindings.cc
index 02dc2395..a9c32c1c 100644
--- a/common/pybindings.cc
+++ b/common/pybindings.cc
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
diff --git a/common/pybindings.h b/common/pybindings.h
index 7616c055..4379a1aa 100644
--- a/common/pybindings.h
+++ b/common/pybindings.h
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
diff --git a/common/pycontainers.h b/common/pycontainers.h
index 9160dfb6..06e772a0 100644
--- a/common/pycontainers.h
+++ b/common/pycontainers.h
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
diff --git a/common/route.cc b/common/route.cc
index 967f9aa1..a60f1c41 100644
--- a/common/route.cc
+++ b/common/route.cc
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -408,6 +408,7 @@ NEXTPNR_NAMESPACE_BEGIN
bool route_design(Context *ctx)
{
try {
+ int totalVisitCnt = 0, totalRevisitCnt = 0, totalOvertimeRevisitCnt = 0;
delay_t ripup_penalty = ctx->getRipupDelayPenalty();
RipupScoreboard scores;
@@ -637,12 +638,22 @@ bool route_design(Context *ctx)
"nets with ripup.\n",
iterCnt, normalRouteCnt, int(ripupQueue.size()));
+ totalVisitCnt += visitCnt;
+ totalRevisitCnt += revisitCnt;
+ totalOvertimeRevisitCnt += overtimeRevisitCnt;
+
if (iterCnt == 8 || iterCnt == 16 || iterCnt == 32 ||
iterCnt == 64 || iterCnt == 128)
ripup_penalty += ctx->getRipupDelayPenalty();
}
log_info("routing complete after %d iterations.\n", iterCnt);
+
+ log_info("visited %d PIPs (%.2f%% revisits, %.2f%% "
+ "overtime revisits).\n",
+ totalVisitCnt, (100.0 * totalRevisitCnt) / totalVisitCnt,
+ (100.0 * totalOvertimeRevisitCnt) / totalVisitCnt);
+
log_info("Checksum: 0x%08x\n", ctx->checksum());
return true;
} catch (log_execution_error_exception) {
diff --git a/common/route.h b/common/route.h
index af0de42e..7a7260f5 100644
--- a/common/route.h
+++ b/common/route.h
@@ -1,7 +1,7 @@
/*
* nextpnr -- Next Generation Place and Route
*
- * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above