diff options
author | Ahmed Irfan <irfan@ubuntu.(none)> | 2014-02-12 13:38:28 +0100 |
---|---|---|
committer | Ahmed Irfan <irfan@ubuntu.(none)> | 2014-02-12 13:38:28 +0100 |
commit | ac896c63e287aeeb7947602af0e5f8b115e0b833 (patch) | |
tree | fc8d775a95f439d792bf7fce082ba0c55faa95ad | |
parent | 45e468114a270f738e9e8d913221c7e0aae03141 (diff) | |
download | yosys-ac896c63e287aeeb7947602af0e5f8b115e0b833.tar.gz yosys-ac896c63e287aeeb7947602af0e5f8b115e0b833.tar.bz2 yosys-ac896c63e287aeeb7947602af0e5f8b115e0b833.zip |
modified btor synthesis script for correct use of splice command.
-rw-r--r-- | backends/btor/btor.ys | 7 | ||||
-rwxr-xr-x | backends/btor/verilog2btor.sh | 5 |
2 files changed, 6 insertions, 6 deletions
diff --git a/backends/btor/btor.ys b/backends/btor/btor.ys index bcfd65cdd..ec28245d3 100644 --- a/backends/btor/btor.ys +++ b/backends/btor/btor.ys @@ -1,10 +1,11 @@ proc; -opt; opt_const -mux_undef; -#splice; -opt; +opt; opt_const -mux_undef; opt; rename -hide;;; #converting pmux to mux techmap -share_map pmux2mux.v;; +#explicit type conversion +splice; opt; +#extracting memories; memory_dff -wr_only; memory_collect;; #flatten design flatten;; diff --git a/backends/btor/verilog2btor.sh b/backends/btor/verilog2btor.sh index 972b8dfbe..870f0a28d 100755 --- a/backends/btor/verilog2btor.sh +++ b/backends/btor/verilog2btor.sh @@ -22,11 +22,10 @@ hierarchy -top $3; hierarchy -libdir $DIR; hierarchy -check; proc; -opt; opt_const -mux_undef; -#splice; -opt; +opt; opt_const -mux_undef; opt; rename -hide;;; techmap -share_map pmux2mux.v;; +splice; opt; memory_dff -wr_only; memory_collect;; flatten;; |