3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-15 21:38:45 +00:00
yosys/btor.ys
2014-01-14 12:03:53 +01:00

22 lines
426 B
Plaintext

#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;