File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- verilator $* -CFLAGS " ` sdl2-config --cflags` " -LDFLAGS " ` sdl2-config --libs` " --cc blit.v -Wno-fatal --exe sim.cc && make -j -C obj_dir -f Vtop .mk && obj_dir/Vtop
1+ verilator $* -CFLAGS " ` sdl2-config --cflags` " -LDFLAGS " ` sdl2-config --libs` " --cc blit.v -Wno-fatal --exe sim.cc && make -j -C obj_dir -f Vblit .mk && obj_dir/Vblit
Original file line number Diff line number Diff line change 44#include < SDL.h>
55#include < err.h>
66#include < pthread.h>
7- #include " Vtop .h"
7+ #include " Vblit .h"
88#if VM_TRACE
99#include " verilated_vcd_c.h"
1010#else
1414std::list<char > kbd;
1515std::list<char > uart_in;
1616std::list<char > uart_out;
17- Vtop *tb;
17+ Vblit *tb;
1818pthread_mutex_t uart_mutex = PTHREAD_MUTEX_INITIALIZER;
1919
2020void putkbd (char c)
@@ -41,7 +41,7 @@ void *recv_thread(void *)
4141
4242int main (int argc, char **argv) {
4343 Verilated::commandArgs (argc, argv);
44- tb = new Vtop ;
44+ tb = new Vblit ;
4545
4646 if (SDL_Init (SDL_INIT_VIDEO) < 0 )
4747 errx (1 , " SDL_Init failed" );
You can’t perform that action at this time.
0 commit comments