3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-21 16:16:39 +00:00

Merge pull request #50 from alaindargelas/calc_fanout

remove not needed code
This commit is contained in:
alaindargelas 2025-01-31 16:27:23 -08:00 committed by GitHub
commit 67a19613e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,10 +9,6 @@ PRIVATE_NAMESPACE_BEGIN
void sigCellDrivers(RTLIL::Design *design, dict<RTLIL::SigSpec, std::set<Cell *>> &sig2CellsInFanout,
dict<RTLIL::SigSpec, std::set<Cell *>> &sig2CellsInFanin)
{
if (!design->top_module())
return;
if (design->top_module()->cells().size() == 0)
return;
for (auto module : design->selected_modules()) {
SigMap sigmap(module);
for (auto cell : module->selected_cells()) {