aboutsummaryrefslogtreecommitdiffstats
path: root/passes/fsm
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-12-24 09:51:17 +0100
committerClifford Wolf <clifford@clifford.at>2014-12-24 09:51:17 +0100
commitedb3c9d0c4f0bc3a108ffebc01f02ff4d7354487 (patch)
tree602fc633af5de89d2d6d1bda480159318f4aa91d /passes/fsm
parent48ca1ff9ef5bba939348ceeec75ad310afd9fcf8 (diff)
downloadyosys-edb3c9d0c4f0bc3a108ffebc01f02ff4d7354487.tar.gz
yosys-edb3c9d0c4f0bc3a108ffebc01f02ff4d7354487.tar.bz2
yosys-edb3c9d0c4f0bc3a108ffebc01f02ff4d7354487.zip
Renamed extend() to extend_xx(), changed most users to extend_u0()
Diffstat (limited to 'passes/fsm')
-rw-r--r--passes/fsm/fsm_extract.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/fsm/fsm_extract.cc b/passes/fsm/fsm_extract.cc
index e01c54969..68667ef02 100644
--- a/passes/fsm/fsm_extract.cc
+++ b/passes/fsm/fsm_extract.cc
@@ -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;