aboutsummaryrefslogtreecommitdiffstats
path: root/generic/viaduct/fabulous/fasm.h
diff options
context:
space:
mode:
authormyrtle <gatecat@ds0.me>2022-09-15 09:07:56 +0200
committerGitHub <noreply@github.com>2022-09-15 09:07:56 +0200
commit79aad0988a17537409c9894081d9562c693745cf (patch)
treecbd134f210b0730027efe76b5f7e017f86a23088 /generic/viaduct/fabulous/fasm.h
parent3983d4fe53e2c609a5c76510aff8e998a4c22285 (diff)
parentf4230553901de30f07be5906471b219ed255cb6e (diff)
downloadnextpnr-79aad0988a17537409c9894081d9562c693745cf.tar.gz
nextpnr-79aad0988a17537409c9894081d9562c693745cf.tar.bz2
nextpnr-79aad0988a17537409c9894081d9562c693745cf.zip
Merge pull request #1015 from YosysHQ/gatecat/fabulous-viaduct
fabulous: Add a viaduct uarch
Diffstat (limited to 'generic/viaduct/fabulous/fasm.h')
-rw-r--r--generic/viaduct/fabulous/fasm.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/generic/viaduct/fabulous/fasm.h b/generic/viaduct/fabulous/fasm.h
new file mode 100644
index 00000000..0f152c64
--- /dev/null
+++ b/generic/viaduct/fabulous/fasm.h
@@ -0,0 +1,32 @@
+/*
+ * nextpnr -- Next Generation Place and Route
+ *
+ * Copyright (C) 2021-22 gatecat <gatecat@ds0.me>
+ *
+ * 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 FABULOUS_FASM_H
+#define FABULOUS_FASM_H
+
+#include "fab_cfg.h"
+#include "nextpnr.h"
+
+NEXTPNR_NAMESPACE_BEGIN
+
+void fabulous_write_fasm(const Context *ctx, const FabricConfig &cfg, const std::string &filename);
+
+NEXTPNR_NAMESPACE_END
+
+#endif