From d274706e6708b53261200b623edb3f7a153bd529 Mon Sep 17 00:00:00 2001 From: aottaviano Date: Tue, 10 Oct 2023 15:11:08 +0200 Subject: [PATCH] tb: Fix finish location --- tb/carfield_tb.sv | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tb/carfield_tb.sv b/tb/carfield_tb.sv index a749c693..f018a4b2 100644 --- a/tb/carfield_tb.sv +++ b/tb/carfield_tb.sv @@ -335,6 +335,8 @@ module tb_carfield_soc; $fatal(1, "Unsupported boot mode %d (reserved)!", pulpd_boot_mode); end endcase + + $finish; end // Fast preload of hyperram @@ -366,8 +368,8 @@ module tb_carfield_soc; if (pulpd_exit_code) $error("[SLINK PULP] FAILED: return code %0d", pulpd_exit_code); else $display("[SLINK PULP] SUCCESS"); + $finish; end - $finish; end // spatz cluster standalone @@ -449,6 +451,7 @@ module tb_carfield_soc; $fatal(1, "Unsupported boot mode %d (reserved)!", spatzd_boot_mode); end endcase + $finish; end end