2014-01-03 03:52:44 -06:00
|
|
|
#design should be loaded before executing
|
|
|
|
|
|
|
|
#high level synthesis
|
|
|
|
#################
|
|
|
|
#converting processes to cells
|
|
|
|
proc;
|
2014-01-14 05:03:53 -06:00
|
|
|
opt; opt_const -mux_undef; opt;
|
|
|
|
rename -hide;;;
|
2014-01-03 03:52:44 -06:00
|
|
|
#converting pmux to mux
|
|
|
|
techmap -map techlibs/common/pmux2mux.v;
|
|
|
|
opt;
|
|
|
|
#converting asyn memory write to syn memory
|
|
|
|
memory_dff;
|
|
|
|
opt;
|
|
|
|
#flatten design
|
2014-01-14 05:03:53 -06:00
|
|
|
flatten;;;
|
|
|
|
#cell output to be a single wire
|
|
|
|
splitnets -driver;
|
|
|
|
opt;;;
|
2014-01-03 03:52:44 -06:00
|
|
|
#writing btor
|
|
|
|
write_btor design.btor;
|