From 10b7951933d4ef14735153376e7ef9b77717b840 Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Wed, 21 Sep 2022 11:25:13 +0200 Subject: [PATCH] Let verilator print when touched by kill -USR1 --- hw/application_fpga/tb/application_fpga_verilator.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/application_fpga/tb/application_fpga_verilator.cc b/hw/application_fpga/tb/application_fpga_verilator.cc index b0f917a..46c50c3 100644 --- a/hw/application_fpga/tb/application_fpga_verilator.cc +++ b/hw/application_fpga/tb/application_fpga_verilator.cc @@ -271,6 +271,7 @@ volatile int touch_cyc = 0; void sighandler(int) { + printf("touched!\n"); touch_cyc = 1000; }