alu simple

This commit is contained in:
Nicholas Orlowsky 2024-04-08 01:28:28 -05:00
parent a93cc69e2c
commit f63cc9738f
Signed by: nickorlow
GPG key ID: 838827D8C4611687
4 changed files with 162 additions and 243 deletions

View file

@ -2,7 +2,7 @@
SDL_CFLAGS = `sdl2-config --cflags`
SDL_LDFLAGS = `sdl2-config --libs`
SV_FILES=cpu.sv chip8.sv gpu.sv
SV_FILES=aastructs.sv cpu.sv chip8.sv gpu.sv alu.sv
lint:
verilator --lint-only -DDUMMY_GPU --timing ${SV_FILES}
@ -10,7 +10,7 @@ lint:
build-rom:
python3 ./gen_rom.py ${ROM_FILE} rom.bin
build: lint build-rom
build: build-rom
verilator --cc --exe --build --timing -j 0 --top-module chip8 *.sv yayacemu.cpp -DDUMMY_GPU -CFLAGS "${SDL_CFLAGS}" -LDFLAGS "${SDL_LDFLAGS}" && clear
run: build