aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/gfx.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-07-09 15:02:29 +0200
committerClifford Wolf <clifford@clifford.at>2018-07-09 15:05:44 +0200
commit3be10f629a7a5eb68cfca01ac8a1464585817f22 (patch)
tree7a3c2b9f4695dba8180b0511f522f16d61881059 /ice40/gfx.cc
parenta1cd9fcf73685a5b0c4e721d405550096d85d566 (diff)
downloadnextpnr-3be10f629a7a5eb68cfca01ac8a1464585817f22.tar.gz
nextpnr-3be10f629a7a5eb68cfca01ac8a1464585817f22.tar.bz2
nextpnr-3be10f629a7a5eb68cfca01ac8a1464585817f22.zip
Add ice40 wire gfx enums
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/gfx.cc')
-rw-r--r--ice40/gfx.cc28
1 files changed, 28 insertions, 0 deletions
diff --git a/ice40/gfx.cc b/ice40/gfx.cc
new file mode 100644
index 00000000..46824b06
--- /dev/null
+++ b/ice40/gfx.cc
@@ -0,0 +1,28 @@
+/*
+ * nextpnr -- Next Generation Place and Route
+ *
+ * Copyright (C) 2018 Clifford Wolf <clifford@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 "gfx.h"
+
+NEXTPNR_NAMESPACE_BEGIN
+
+void gfxTileWire(std::vector<GraphicElement> &g, int x, int y, GfxTileWireId id)
+{
+}
+
+NEXTPNR_NAMESPACE_END