Implement state machine, arith and I/O instructions now working.

This commit is contained in:
2023-10-04 19:32:13 +02:00
parent 65c6f85bb9
commit b530f66702
8 changed files with 117 additions and 78 deletions

14
fpga/Makefile Normal file
View File

@@ -0,0 +1,14 @@
CHDL = ghdl
FLAGS = --std=08
STOP = 9000ns
all: tb/tb_bfpu.vhd src/bfpu.vhd
$(CHDL) -a $(FLAGS) src/alu.vhd src/branch.vhd src/cellMemory.vhd src/instructionMemory.vhd src/memoryPointer.vhd src/programCounter.vhd src/bfpu.vhd tb/tb_bfpu.vhd
$(CHDL) -e $(FLAGS) bfpu_tb
$(CHDL) -r $(FLAGS) bfpu_tb --wave=bpfu.ghw --stop-time=$(STOP)
clean:
find . -name '*.o' -exec rm -r {} \;
find . -name '*.cf' -exec rm -r {} \;
find . -name '*.ghw' -exec rm -r {} \;
find . -name '*_tb' -exec rm -r {} \;