aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chains.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-08-04 10:32:07 +0200
committerClifford Wolf <clifford@clifford.at>2018-08-04 10:32:07 +0200
commit96291f17aac62f9b58370c67e4eeff71adc848c1 (patch)
treea957f13f0dacfa4ac0066f2f872ed4d06dba7e61 /ice40/chains.h
parent8d372b86f3aed86c7a8ef7869e92335bd965c2ae (diff)
parentf5a1b93f0e9348437ece7fb7d46ac69af98536d0 (diff)
downloadnextpnr-96291f17aac62f9b58370c67e4eeff71adc848c1.tar.gz
nextpnr-96291f17aac62f9b58370c67e4eeff71adc848c1.tar.bz2
nextpnr-96291f17aac62f9b58370c67e4eeff71adc848c1.zip
Merge branch 'master' of github.com:YosysHQ/nextpnr into lutperm
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