Skip to content

Commit e128774

Browse files
committed
rename Vtop -> Vblit in verilator stuff
1 parent 9eb0422 commit e128774

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
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

sim.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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
@@ -14,7 +14,7 @@
1414
std::list<char> kbd;
1515
std::list<char> uart_in;
1616
std::list<char> uart_out;
17-
Vtop *tb;
17+
Vblit *tb;
1818
pthread_mutex_t uart_mutex = PTHREAD_MUTEX_INITIALIZER;
1919

2020
void putkbd(char c)
@@ -41,7 +41,7 @@ void *recv_thread(void *)
4141

4242
int 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");

0 commit comments

Comments
 (0)