summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-07 18:17:10 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-07 18:17:10 +0100
commit947bd9b96bb978e204275d6fbbc9ce9ff6eda28c (patch)
treec9f0f53390c6fdfba52d26a3571d761ef28449f9 /kernel
parent0e1661f84e99f1d4a487e7a432b05a6cb2071714 (diff)
Renamed extend_un0() to extend_u0() and use it in genrtlil
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rtlil.cc2
-rw-r--r--kernel/rtlil.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc
index 4388acb1..d03fb044 100644
--- a/kernel/rtlil.cc
+++ b/kernel/rtlil.cc
@@ -940,7 +940,7 @@ void RTLIL::SigSpec::extend(int width, bool is_signed)
optimize();
}
-void RTLIL::SigSpec::extend_un0(int width, bool is_signed)
+void RTLIL::SigSpec::extend_u0(int width, bool is_signed)
{
if (this->width > width)
remove(width, this->width - width);
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 376a09ab..7628bf0a 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -342,7 +342,7 @@ struct RTLIL::SigSpec {
void append(const RTLIL::SigSpec &signal);
bool combine(RTLIL::SigSpec signal, RTLIL::State freeState = RTLIL::State::Sz, bool override = false);
void extend(int width, bool is_signed = false);
- void extend_un0(int width, bool is_signed = false);
+ void extend_u0(int width, bool is_signed = false);
void check() const;
bool operator <(const RTLIL::SigSpec &other) const;
bool operator ==(const RTLIL::SigSpec &other) const;