aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing_opt.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2018-12-01 16:50:47 +0000
committerDavid Shah <dave@ds0.me>2018-12-06 10:53:01 +0000
commit1b7214a18ae4cf6fb62827b06e4b5f158292da4b (patch)
treea4f505f733d9aa9ea433461c01e751d9f1c11a5c /common/timing_opt.h
parent51a662d37e4361fc2a39258fd1dc1b56ff6c15b0 (diff)
downloadnextpnr-1b7214a18ae4cf6fb62827b06e4b5f158292da4b.tar.gz
nextpnr-1b7214a18ae4cf6fb62827b06e4b5f158292da4b.tar.bz2
nextpnr-1b7214a18ae4cf6fb62827b06e4b5f158292da4b.zip
timing_opt: Implement the BFS-based path optimisation
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common/timing_opt.h')
-rw-r--r--common/timing_opt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/timing_opt.h b/common/timing_opt.h
index 746294bb..fda29d30 100644
--- a/common/timing_opt.h
+++ b/common/timing_opt.h
@@ -18,6 +18,7 @@
*/
#include "nextpnr.h"
+#include "settings.h"
NEXTPNR_NAMESPACE_BEGIN
@@ -26,7 +27,7 @@ struct TimingOptCfg : public Settings
// The timing optimiser will *only* optimise cells of these types
// Normally these would only be logic cells (or tiles if applicable), the algorithm makes little sense
// for other cell types
- std::unordered_set<IdString> cellTypes;
+ std::unordered_set<IdString> cellTypes;
};
extern bool timing_opt(Context *ctx, TimingOptCfg cfg);