aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing_opt.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2018-12-01 13:22:57 +0000
committerDavid Shah <dave@ds0.me>2018-12-06 10:53:01 +0000
commit83e32775775cc06d0f70a18e2a18089c38ff3c35 (patch)
tree1cc78704329758d8a3b543d41588b141e7e2b477 /common/timing_opt.h
parent9a42b64a6853a3802a6d934a1ca251e84ddb7e07 (diff)
downloadnextpnr-83e32775775cc06d0f70a18e2a18089c38ff3c35.tar.gz
nextpnr-83e32775775cc06d0f70a18e2a18089c38ff3c35.tar.bz2
nextpnr-83e32775775cc06d0f70a18e2a18089c38ff3c35.zip
timing_opt: Implement neighbour Bel finder
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common/timing_opt.h')
-rw-r--r--common/timing_opt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/timing_opt.h b/common/timing_opt.h
index 60df7df9..746294bb 100644
--- a/common/timing_opt.h
+++ b/common/timing_opt.h
@@ -23,6 +23,10 @@ NEXTPNR_NAMESPACE_BEGIN
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;
};
extern bool timing_opt(Context *ctx, TimingOptCfg cfg);