aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/place_legaliser.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-06 14:02:37 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-11 10:41:36 +0200
commit83303bae5aec42ef411478dc2841b28aeecfd5e0 (patch)
tree3ffd8600738a30821cf75f6421aed85d56e59ad4 /ecp5/place_legaliser.h
parent074df03c593f03ba93ac19804c551e22a404d8d6 (diff)
downloadnextpnr-83303bae5aec42ef411478dc2841b28aeecfd5e0.tar.gz
nextpnr-83303bae5aec42ef411478dc2841b28aeecfd5e0.tar.bz2
nextpnr-83303bae5aec42ef411478dc2841b28aeecfd5e0.zip
ecp5: Implementing (at least stubs) most of arch.cc
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/place_legaliser.h')
-rw-r--r--ecp5/place_legaliser.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/ecp5/place_legaliser.h b/ecp5/place_legaliser.h
new file mode 100644
index 00000000..5f4df6aa
--- /dev/null
+++ b/ecp5/place_legaliser.h
@@ -0,0 +1,31 @@
+/*
+ * 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.
+ *
+ */
+
+#ifndef PLACE_LEGALISER_H
+#define PLACE_LEGALISER_H
+
+#include "nextpnr.h"
+
+NEXTPNR_NAMESPACE_BEGIN
+
+bool legalise_design(Context *ctx);
+
+NEXTPNR_NAMESPACE_END
+
+#endif