mirror of https://github.com/YosysHQ/yosys.git
modified btor synthesis script for correct use of splice command.
This commit is contained in:
parent
45e468114a
commit
ac896c63e2
|
@ -1,10 +1,11 @@
|
||||||
proc;
|
proc;
|
||||||
opt; opt_const -mux_undef;
|
opt; opt_const -mux_undef; opt;
|
||||||
#splice;
|
|
||||||
opt;
|
|
||||||
rename -hide;;;
|
rename -hide;;;
|
||||||
#converting pmux to mux
|
#converting pmux to mux
|
||||||
techmap -share_map pmux2mux.v;;
|
techmap -share_map pmux2mux.v;;
|
||||||
|
#explicit type conversion
|
||||||
|
splice; opt;
|
||||||
|
#extracting memories;
|
||||||
memory_dff -wr_only; memory_collect;;
|
memory_dff -wr_only; memory_collect;;
|
||||||
#flatten design
|
#flatten design
|
||||||
flatten;;
|
flatten;;
|
||||||
|
|
|
@ -22,11 +22,10 @@ hierarchy -top $3;
|
||||||
hierarchy -libdir $DIR;
|
hierarchy -libdir $DIR;
|
||||||
hierarchy -check;
|
hierarchy -check;
|
||||||
proc;
|
proc;
|
||||||
opt; opt_const -mux_undef;
|
opt; opt_const -mux_undef; opt;
|
||||||
#splice;
|
|
||||||
opt;
|
|
||||||
rename -hide;;;
|
rename -hide;;;
|
||||||
techmap -share_map pmux2mux.v;;
|
techmap -share_map pmux2mux.v;;
|
||||||
|
splice; opt;
|
||||||
memory_dff -wr_only;
|
memory_dff -wr_only;
|
||||||
memory_collect;;
|
memory_collect;;
|
||||||
flatten;;
|
flatten;;
|
||||||
|
|
Loading…
Reference in New Issue