1
0

gracefully kill htif thread, fixing tty stuff

This commit is contained in:
Andrew Waterman 2013-05-01 21:11:05 -07:00
parent a86ad08c1e
commit d2e1828714
2 changed files with 7 additions and 0 deletions

View File

@ -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);

View File

@ -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,