Let verilator print when touched by kill -USR1

This commit is contained in:
Daniel Lublin 2022-09-21 11:25:13 +02:00
parent 8066c1092e
commit 10b7951933
No known key found for this signature in database
GPG Key ID: 75BD0FEB8D3E7830

View File

@ -271,6 +271,7 @@ volatile int touch_cyc = 0;
void sighandler(int)
{
printf("touched!\n");
touch_cyc = 1000;
}