diff --git a/passes/silimate/annotate_cell_fanout.cc b/passes/silimate/annotate_cell_fanout.cc index 18864d973..180d041ec 100644 --- a/passes/silimate/annotate_cell_fanout.cc +++ b/passes/silimate/annotate_cell_fanout.cc @@ -16,7 +16,7 @@ std::string substringuntil(const std::string &str, char delimiter) } } -// Generate a human readable name for a sigspec, uniquify if necessary +// Generate a meaningful name for a sigspec, uniquify if necessary RTLIL::IdString generateSigSpecName(Module *module, const RTLIL::SigSpec &sigspec, bool makeUnique = false, std::string postfix = "", bool cellName = false) { @@ -227,6 +227,7 @@ void removeBuffer(Module *module, SigMap &sigmap, std::set &fanoutcells, module->remove({bufferOutSig.as_wire()}); } +// Returns the first output (sigmaped sigspec) of a cell RTLIL::SigSpec getCellOutputSigSpec(Cell *cell, SigMap &sigmap) { RTLIL::SigSpec cellOutSig; @@ -435,6 +436,7 @@ void fixfanout(RTLIL::Module *module, SigMap &sigmap, dict> &sig2CellsInFanout, dict &cellFanout, dict &sigFanout) { @@ -509,6 +511,7 @@ void calculateFanout(RTLIL::Module *module, SigMap &sigmap, dict &netsToSplitS, std::vector &sigsToSplit, bool formalFriendly, bool debug, bool inputPort = false) {