From: Ahmed Irfan Date: Fri, 24 Jan 2014 14:00:43 +0000 (+0100) Subject: minor change in script X-Git-Tag: yosys-0.2.0~146^2~7^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=761b8f99d71128fbcf193ded7b59184811199324;p=yosys.git minor change in script --- diff --git a/verilog2btor.sh b/verilog2btor.sh index e01d15084..ef0134e07 100755 --- a/verilog2btor.sh +++ b/verilog2btor.sh @@ -16,11 +16,20 @@ fi FULL_PATH=$(readlink -f $1) DIR=$(dirname $FULL_PATH) -./yosys -p " +./yosys -q -p " read_verilog $1; hierarchy -top $3; hierarchy -libdir $DIR; hierarchy -check; -script btor.ys; +proc; +opt; opt_const -mux_undef; opt; +rename -hide;;; +techmap -map $YOSYS_HOME/techlibs/common/pmux2mux.v;; +memory -nomap;; +flatten;; +memory_unpack; +splitnets -driver; +setundef -zero -undriven; +opt;;; write_btor $2;"