aboutsummaryrefslogtreecommitdiffstats
path: root/btor.ys
diff options
context:
space:
mode:
Diffstat (limited to 'btor.ys')
-rw-r--r--btor.ys21
1 files changed, 21 insertions, 0 deletions
diff --git a/btor.ys b/btor.ys
new file mode 100644
index 000000000..5293ed63b
--- /dev/null
+++ b/btor.ys
@@ -0,0 +1,21 @@
+#design should be loaded before executing
+
+#high level synthesis
+#################
+#converting processes to cells
+proc;
+opt; opt_const -mux_undef; opt;
+rename -hide;;;
+#converting pmux to mux
+techmap -map techlibs/common/pmux2mux.v;
+opt;
+#converting asyn memory write to syn memory
+memory_dff;
+opt;
+#flatten design
+flatten;;;
+#cell output to be a single wire
+splitnets -driver;
+opt;;;
+#writing btor
+write_btor design.btor;