mirror of https://github.com/YosysHQ/yosys.git
cleaning up for PR
This commit is contained in:
parent
ce069830c5
commit
7b964bfb83
|
@ -1304,10 +1304,6 @@ inline const RTLIL::SigBit &RTLIL::SigSpecConstIterator::operator*() const {
|
|||
}
|
||||
|
||||
inline RTLIL::SigBit::SigBit(const RTLIL::SigSpec &sig) {
|
||||
if(sig.size() != 1 || sig.chunks().size() != 1) {
|
||||
std::cout << "rtp " << sig.size() << std::endl;
|
||||
std::cout << "rtp " << sig.chunks().size() << std::endl;
|
||||
}
|
||||
log_assert(sig.size() == 1 && sig.chunks().size() == 1);
|
||||
*this = SigBit(sig.chunks().front());
|
||||
}
|
||||
|
|
|
@ -418,7 +418,7 @@ struct EquivMakeWorker
|
|||
}
|
||||
}
|
||||
|
||||
bool check_signal_in_fanout(pool<Cell*> & visited_cells, SigSpec source_bit, SigSpec target_bit)
|
||||
bool check_signal_in_fanout(pool<Cell*> & visited_cells, SigBit source_bit, SigBit target_bit)
|
||||
{
|
||||
if (source_bit == target_bit)
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue