aboutsummaryrefslogtreecommitdiffstats
path: root/btor.ys
diff options
context:
space:
mode:
authorAhmed Irfan <ahmedirfan1983@gmail.com>2014-01-03 10:52:44 +0100
committerAhmed Irfan <ahmedirfan1983@gmail.com>2014-01-03 10:52:44 +0100
commitffd768ce865e330a631c56d63c6f472e9ad85511 (patch)
treefa04e846e43b66039b31a738fc6375c16c598046 /btor.ys
parent09bd82db217d27930d1eeec8d0dfd1e014c675b4 (diff)
downloadyosys-ffd768ce865e330a631c56d63c6f472e9ad85511.tar.gz
yosys-ffd768ce865e330a631c56d63c6f472e9ad85511.tar.bz2
yosys-ffd768ce865e330a631c56d63c6f472e9ad85511.zip
btor
Diffstat (limited to 'btor.ys')
-rw-r--r--btor.ys20
1 files changed, 20 insertions, 0 deletions
diff --git a/btor.ys b/btor.ys
new file mode 100644
index 000000000..11833e2ac
--- /dev/null
+++ b/btor.ys
@@ -0,0 +1,20 @@
+#design should be loaded before executing
+
+#high level synthesis
+#################
+#converting processes to cells
+proc;
+opt;
+#converting pmux to mux
+techmap -map techlibs/common/pmux2mux.v;
+opt;
+#converting asyn memory write to syn memory
+memory_dff;
+opt;
+#flatten design
+flatten;
+opt;
+#adding temporary wires for cell ports
+scatter;
+#writing btor
+write_btor design.btor;