From df391f58164c8c13b87d9b3c54b194bb1c50170f Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 8 Nov 2024 14:57:04 +0100 Subject: [PATCH] verific: fix blackbox regression and add test case --- frontends/verific/verific.cc | 1 + tests/verific/blackbox.ys | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 tests/verific/blackbox.ys diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc index 0cdf772a8..4233e73ba 100644 --- a/frontends/verific/verific.cc +++ b/frontends/verific/verific.cc @@ -3428,6 +3428,7 @@ struct VerificPass : public Pass { RuntimeFlags::SetVar("veri_preserve_assignments", 1); RuntimeFlags::SetVar("veri_preserve_comments", 1); RuntimeFlags::SetVar("veri_preserve_drivers", 1); + RuntimeFlags::SetVar("veri_create_empty_box", 1); // Workaround for VIPER #13851 RuntimeFlags::SetVar("veri_create_name_for_unnamed_gen_block", 1); diff --git a/tests/verific/blackbox.ys b/tests/verific/blackbox.ys new file mode 100644 index 000000000..fbf689e3d --- /dev/null +++ b/tests/verific/blackbox.ys @@ -0,0 +1,24 @@ +verific -sv -lib <