From 947bd9b96bb978e204275d6fbbc9ce9ff6eda28c Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 7 Nov 2013 18:17:10 +0100 Subject: Renamed extend_un0() to extend_u0() and use it in genrtlil --- kernel/rtlil.cc | 2 +- kernel/rtlil.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel') 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; -- cgit v1.2.3