]> Joshua Wise's Git repositories - firearm.git/blobdiff - testbench.cpp
Testbench: use 'urxvt', not 'rxvt'.
[firearm.git] / testbench.cpp
index e89de3851a49f5da9ff6539c19bb6dcf34f2021b..9ad4b2da082abc7c016aa8255db73339ede56b7a 100644 (file)
@@ -20,7 +20,7 @@ void openpty()
        tcgetattr(fd, &kbdios);
        kbdios.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
        tcsetattr(fd, TCSANOW, &kbdios);
        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);
        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;
        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);
                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);
This page took 0.02536 seconds and 4 git commands to generate.