From abfd38489e6dbe5f7f7450130e161676136b837e Mon Sep 17 00:00:00 2001 From: David Langus Rodriguez Date: Wed, 20 Nov 2024 11:45:45 -0500 Subject: [PATCH] Fix uninitialized signal error and document verilator dependency with correct version --- README.md | 1 + vendor/lowrisc_ibex/dv/verilator/pcount/cpp/ibex_pcounts.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d90dd542..816d9a72 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ probe is required. * openocd (version 0.11.0 or above) * screen * srecord +* verilator (version 5.024-1 or above) ## Container Guide diff --git a/vendor/lowrisc_ibex/dv/verilator/pcount/cpp/ibex_pcounts.cc b/vendor/lowrisc_ibex/dv/verilator/pcount/cpp/ibex_pcounts.cc index 6924ee52..5bf1731d 100644 --- a/vendor/lowrisc_ibex/dv/verilator/pcount/cpp/ibex_pcounts.cc +++ b/vendor/lowrisc_ibex/dv/verilator/pcount/cpp/ibex_pcounts.cc @@ -53,7 +53,7 @@ static bool has_hpm_counter(int index) { std::string ibex_pcount_string(bool csv) { char separator = csv ? ',' : ':'; - std::string::size_type longest_name_length; + std::string::size_type longest_name_length = 0; if (!csv) { longest_name_length = 0;