gracefully kill htif thread, fixing tty stuff
This commit is contained in:
1 parent
a86ad08c1e
commit
d2e1828714
2 files changed
+7
No files matched your search
@@ -176,6 +176,8 @@ int main(int argc, char** argv)
|
||||
if (vcd)
|
||||
fclose(vcdfile);
|
||||
|
||||
delete htif;
|
||||
|
||||
if (failure)
|
||||
{
|
||||
fprintf(logfile, "*** FAILED *** (%s) after %lld cycles\n", failure, (long long)trace_count);
|
||||
|
||||
@@ -101,6 +101,11 @@ void htif_init
|
||||
htif = new htif_emulator_t(args);
|
||||
}
|
||||
|
||||
void htif_fini()
|
||||
{
|
||||
delete htif;
|
||||
}
|
||||
|
||||
void htif_tick
|
||||
(
|
||||
vc_handle htif_in_valid,
|
||||
|
||||
Reference in new issue
Block a user