mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 14:23:41 +00:00
Add abc, some techmap passes, make opt_balance_tree only balance add/mul
This commit is contained in:
parent
6401027ff6
commit
b4d7812662
2 changed files with 7 additions and 5 deletions
|
@ -329,8 +329,10 @@ struct OptBalanceTreePass : public Pass {
|
||||||
extra_args(args, argidx, design);
|
extra_args(args, argidx, design);
|
||||||
|
|
||||||
// Run splitfanout pass first
|
// Run splitfanout pass first
|
||||||
if (splitfanout)
|
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:$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
|
// Count of all cells that were packed
|
||||||
dict<IdString, int> cell_count;
|
dict<IdString, int> cell_count;
|
||||||
|
|
|
@ -10,6 +10,9 @@ OBJS += passes/techmap/libparse.o
|
||||||
OBJS += passes/techmap/bmuxmap.o
|
OBJS += passes/techmap/bmuxmap.o
|
||||||
OBJS += passes/techmap/demuxmap.o
|
OBJS += passes/techmap/demuxmap.o
|
||||||
OBJS += passes/techmap/pmuxtree.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)
|
ifeq ($(ENABLE_ABC),1)
|
||||||
OBJS += passes/techmap/abc.o
|
OBJS += passes/techmap/abc.o
|
||||||
|
@ -29,11 +32,8 @@ ifneq ($(SMALL),1)
|
||||||
OBJS += passes/techmap/iopadmap.o
|
OBJS += passes/techmap/iopadmap.o
|
||||||
OBJS += passes/techmap/clkbufmap.o
|
OBJS += passes/techmap/clkbufmap.o
|
||||||
OBJS += passes/techmap/hilomap.o
|
OBJS += passes/techmap/hilomap.o
|
||||||
OBJS += passes/techmap/extract.o
|
|
||||||
OBJS += passes/techmap/extract_fa.o
|
OBJS += passes/techmap/extract_fa.o
|
||||||
OBJS += passes/techmap/extract_counter.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/dffinit.o
|
||||||
OBJS += passes/techmap/bwmuxmap.o
|
OBJS += passes/techmap/bwmuxmap.o
|
||||||
OBJS += passes/techmap/muxcover.o
|
OBJS += passes/techmap/muxcover.o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue