mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 10:50:25 +00:00
Renamed extend() to extend_xx(), changed most users to extend_u0()
This commit is contained in:
parent
48ca1ff9ef
commit
edb3c9d0c4
12 changed files with 33 additions and 34 deletions
|
@ -40,7 +40,7 @@ static std::map<RTLIL::SigBit, std::set<RTLIL::SigBit>> exclusive_ctrls;
|
|||
|
||||
static bool find_states(RTLIL::SigSpec sig, const RTLIL::SigSpec &dff_out, RTLIL::SigSpec &ctrl, std::map<RTLIL::Const, int> &states, RTLIL::Const *reset_state = NULL)
|
||||
{
|
||||
sig.extend(dff_out.size(), false);
|
||||
sig.extend_u0(dff_out.size(), false);
|
||||
|
||||
if (sig == dff_out)
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue