From 1a222cb163ac88f95848cc8fd843011207e6b4ff Mon Sep 17 00:00:00 2001 From: Charlotte Date: Wed, 28 Jun 2023 11:51:15 +1000 Subject: [PATCH] fmt: function name typo --- kernel/fmt.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/fmt.cc b/kernel/fmt.cc index 952511eeb..68725c136 100644 --- a/kernel/fmt.cc +++ b/kernel/fmt.cc @@ -214,7 +214,7 @@ void Fmt::emit_rtlil(RTLIL::Cell *cell) const { cell->setPort(ID(ARGS), args); } -static size_t compute_requried_decimal_places(size_t size, bool signed_) +static size_t compute_required_decimal_places(size_t size, bool signed_) { BigUnsigned max; if (!signed_) @@ -234,7 +234,7 @@ static size_t compute_requried_decimal_places(size_t size, bool signed_) static void apply_verilog_automatic_sizing(FmtPart &part) { if (part.base == 10) { - size_t places = compute_requried_decimal_places(part.sig.size(), part.signed_); + size_t places = compute_required_decimal_places(part.sig.size(), part.signed_); part.padding = ' '; part.width = std::max(part.width, places); } else {