diff options
| author | Eddie Hung <eddie@fpgeh.com> | 2019-07-12 16:06:14 -0700 | 
|---|---|---|
| committer | Eddie Hung <eddie@fpgeh.com> | 2019-07-12 19:30:18 -0700 | 
| commit | 83f23a24a880fb3cd40ea16b478540bdbdfe597c (patch) | |
| tree | 063e308b911d8e07398942ab8adc7016bb3d728a /passes | |
| parent | 1adbfb55338fdb29eae638f988ae361b9e401d8b (diff) | |
| download | yosys-83f23a24a880fb3cd40ea16b478540bdbdfe597c.tar.gz yosys-83f23a24a880fb3cd40ea16b478540bdbdfe597c.tar.bz2 yosys-83f23a24a880fb3cd40ea16b478540bdbdfe597c.zip  | |
Cleanup
Diffstat (limited to 'passes')
| -rw-r--r-- | passes/techmap/abc9.cc | 14 | 
1 files changed, 4 insertions, 10 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc index 5da5efcdc..867b06cbe 100644 --- a/passes/techmap/abc9.cc +++ b/passes/techmap/abc9.cc @@ -611,21 +611,15 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri  								RTLIL::SigBit(module->wires_.at(remap_name(y_bit.wire->name)), y_bit.offset),  								RTLIL::Const::from_string("01"));  						bit2sinks[cell->getPort("\\A")].push_back(cell); +						cell_stats["$lut"]++;  					} -					else { +					else  						push_inverters.emplace_back(c, driver_lut); -						continue; -					} +					continue;  				} -				else { -					cell = module->addCell(remap_name(c->name), "$_NOT_"); -					cell->setPort("\\A", RTLIL::SigBit(module->wires_.at(remap_name(a_bit.wire->name)), a_bit.offset)); -					cell->setPort("\\Y", RTLIL::SigBit(module->wires_.at(remap_name(y_bit.wire->name)), y_bit.offset)); -					cell_stats[RTLIL::unescape_id(c->type)]++; +				else  					log_abort(); -				}  				if (cell && markgroups) cell->attributes["\\abcgroup"] = map_autoidx; -				cell_stats[RTLIL::unescape_id(c->type)]++;  				continue;  			}  			cell_stats[RTLIL::unescape_id(c->type)]++;  | 
