3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-02 20:31:22 +00:00

Add abc, some techmap passes, make opt_balance_tree only balance add/mul

This commit is contained in:
Akash Levy 2024-10-30 00:38:05 -07:00
parent 6401027ff6
commit b4d7812662
2 changed files with 7 additions and 5 deletions

View file

@ -329,8 +329,10 @@ struct OptBalanceTreePass : public Pass {
extra_args(args, argidx, design);
// Run splitfanout pass first
if (splitfanout)
Pass::call(design, "splitfanout -limit 512 t:$and t:$or t:$xor t:$xnor t:$add t:$mul");
if (splitfanout) {
// Pass::call(design, "splitfanout -limit 512 t:$and t:$or t:$xor t:$xnor t:$add t:$mul");
Pass::call(design, "splitfanout -limit 512 t:$add t:$mul");
}
// Count of all cells that were packed
dict<IdString, int> cell_count;

View file

@ -10,6 +10,9 @@ OBJS += passes/techmap/libparse.o
OBJS += passes/techmap/bmuxmap.o
OBJS += passes/techmap/demuxmap.o
OBJS += passes/techmap/pmuxtree.o
OBJS += passes/techmap/alumacc.o
OBJS += passes/techmap/extract.o
OBJS += passes/techmap/extract_reduce.o
ifeq ($(ENABLE_ABC),1)
OBJS += passes/techmap/abc.o
@ -29,11 +32,8 @@ ifneq ($(SMALL),1)
OBJS += passes/techmap/iopadmap.o
OBJS += passes/techmap/clkbufmap.o
OBJS += passes/techmap/hilomap.o
OBJS += passes/techmap/extract.o
OBJS += passes/techmap/extract_fa.o
OBJS += passes/techmap/extract_counter.o
OBJS += passes/techmap/extract_reduce.o
OBJS += passes/techmap/alumacc.o
OBJS += passes/techmap/dffinit.o
OBJS += passes/techmap/bwmuxmap.o
OBJS += passes/techmap/muxcover.o