9 void term_output(unsigned char d)
11 int fd = posix_openpt(O_RDWR);
18 fcntl(fd, F_SETFD, 0); /* clear close-on-exec */
19 sprintf(b, "rxvt -pty-fd %d -bg black -fg white -title \"Output terminal\" &", fd);
22 fd2 = open(ptsname(fd), O_RDWR);
28 unsigned int main_time = 0;
30 double sc_time_stamp ()
40 while (!Verilated::gotFinish())
46 // printf("%d: Bubble: %d. PC: %08x. Ins'n: %08x\n", main_time/2, top->bubbleshield, top->pc, top->insn);