Using the following script, I am synthesising to a standard cell library for which I have a lib file, my_library.lib
:
read_liberty -lib my_library.
The following ABC script should be able to map the MUX4, or it least it is when using the ABC version that is bundled with Yosys 0.7:
abc -liberty my_library.lib -script \
+strash;ifraig;scorr;dc2;dretime;strash;&get,-n;&dch,-f;&nf,{D};&put
Starting with git commit 8927e19 this is the new default script for abc -liberty
.