From d29606532a15ae8e0c8d6c3591ccb36652d7339b Mon Sep 17 00:00:00 2001 From: Archie Date: Sun, 2 Oct 2022 21:59:46 +0200 Subject: [PATCH] Changing error reason string to be based on lut input plane limit constant. --- frontends/blif/blifparse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/blif/blifparse.cc b/frontends/blif/blifparse.cc index 52742660e..fe4c9078a 100644 --- a/frontends/blif/blifparse.cc +++ b/frontends/blif/blifparse.cc @@ -517,7 +517,7 @@ void parse_blif(RTLIL::Design *design, std::istream &f, IdString dff_name, bool } else if (input_sig.size() > lut_input_plane_limit) { - err_reason = stringf("names' input plane must have fewer than 13 signals."); + err_reason = stringf("names' input plane must have fewer than %d signals.", lut_input_plane_limit + 1); goto error_with_reason; } else