aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/bitstream.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-10 11:56:07 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-10 11:56:07 +0200
commitd0431225f1f7d319714301d85893ad6d20f91c93 (patch)
treee431bd80866e6fb892f49267b4fa4a3fa7b7515e /ice40/bitstream.h
parent89d5280bf6cfa0a5f35ce674c456a14e68372908 (diff)
downloadnextpnr-d0431225f1f7d319714301d85893ad6d20f91c93.tar.gz
nextpnr-d0431225f1f7d319714301d85893ad6d20f91c93.tar.bz2
nextpnr-d0431225f1f7d319714301d85893ad6d20f91c93.zip
ice40: Writing an empty ASC file
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/bitstream.h')
-rw-r--r--ice40/bitstream.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/ice40/bitstream.h b/ice40/bitstream.h
new file mode 100644
index 00000000..6af826dc
--- /dev/null
+++ b/ice40/bitstream.h
@@ -0,0 +1,28 @@
+/*
+ * nextpnr -- Next Generation Place and Route
+ *
+ * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at>
+ *
+ * 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 ICE40_BITSTREAM_H
+#define ICE40_BITSTREAM_H
+
+#include <iostream>
+#include "chip.h"
+
+void write_asc(const Chip &chip, std::ostream &out);
+
+#endif