aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing_opt.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2018-12-01 11:54:26 +0000
committerDavid Shah <dave@ds0.me>2018-12-06 10:53:01 +0000
commit9a42b64a6853a3802a6d934a1ca251e84ddb7e07 (patch)
tree0ee04d69cbf2ba80e6209ba58e2d68f0accfdaa7 /common/timing_opt.h
parent88e1e6bdf4d01d31389fce92cdc88e16c9a5ebc1 (diff)
downloadnextpnr-9a42b64a6853a3802a6d934a1ca251e84ddb7e07.tar.gz
nextpnr-9a42b64a6853a3802a6d934a1ca251e84ddb7e07.tar.bz2
nextpnr-9a42b64a6853a3802a6d934a1ca251e84ddb7e07.zip
timing: Add criticality calculation to timing analysis
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common/timing_opt.h')
-rw-r--r--common/timing_opt.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/timing_opt.h b/common/timing_opt.h
new file mode 100644
index 00000000..60df7df9
--- /dev/null
+++ b/common/timing_opt.h
@@ -0,0 +1,30 @@
+/*
+ * nextpnr -- Next Generation Place and Route
+ *
+ * Copyright (C) 2018 David Shah <david@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
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ */
+
+#include "nextpnr.h"
+
+NEXTPNR_NAMESPACE_BEGIN
+
+struct TimingOptCfg : public Settings
+{
+};
+
+extern bool timing_opt(Context *ctx, TimingOptCfg cfg);
+
+NEXTPNR_NAMESPACE_END