X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/7282e8f84e4f5aecab6e57c2086785bbd6d48748..3c947a993d1b35c3a15978983487617b6b56e423:/testbench.cpp diff --git a/testbench.cpp b/testbench.cpp index e89de38..9ad4b2d 100644 --- a/testbench.cpp +++ b/testbench.cpp @@ -20,7 +20,7 @@ void openpty() tcgetattr(fd, &kbdios); kbdios.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); tcsetattr(fd, TCSANOW, &kbdios); - sprintf(b, "rxvt -pty-fd %d -bg black -fg white -title \"Output terminal\" &", fd); + sprintf(b, "urxvt -pty-fd %d -bg black -fg white -title \"Output terminal\" &", fd); system(b); unlockpt(fd); ptyfd = open(ptsname(fd), O_RDWR | O_NONBLOCK); @@ -65,7 +65,7 @@ int main() while (!Verilated::gotFinish()) { top->clk = !top->clk; - + top->rst = 0; top->eval(); // if (top->clk == 1) // printf("%d: Bubble: %d. PC: %08x. Ins'n: %08x\n", main_time/2, top->bubbleshield, top->pc, top->insn);