aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chains.h
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-08-03 23:43:53 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-08-03 23:43:53 -0700
commitd66edf522348d1475f1b65d79804f37a751274b3 (patch)
tree4b881ed0409bae10ac553dc5fe1771feb228712e /ice40/chains.h
parent3d5dcda12c80175f5bfb2c2615de9cb5fadacb90 (diff)
parent65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29 (diff)
downloadnextpnr-d66edf522348d1475f1b65d79804f37a751274b3.tar.gz
nextpnr-d66edf522348d1475f1b65d79804f37a751274b3.tar.bz2
nextpnr-d66edf522348d1475f1b65d79804f37a751274b3.zip
Merge branch 'master' into slack_redist_freq
Diffstat (limited to 'ice40/chains.h')
-rw-r--r--ice40/chains.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/ice40/chains.h b/ice40/chains.h
new file mode 100644
index 00000000..98112303
--- /dev/null
+++ b/ice40/chains.h
@@ -0,0 +1,27 @@
+/*
+ * 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
+
+// This finds chains, inserts LCs to legalise them as needed, and sets relative constraints as appropriate
+void constrain_chains(Context *ctx);
+
+NEXTPNR_NAMESPACE_END