diff --git a/lib/CPUs/MIPS/src/core/mips.mk b/lib/CPUs/MIPS/src/core/mips.mk new file mode 100644 index 0000000..728a60c --- /dev/null +++ b/lib/CPUs/MIPS/src/core/mips.mk @@ -0,0 +1,23 @@ +_PKG_NAME := MIPS_CORE + +_CURDIR = $(shell dirname $(lastword $(MAKEFILE_LIST))) + +_SRC := mips_types.vhd +_SRC += mips_instr.vhd +_SRC += mips_alu.vhd +_SRC += mips_bcu.vhd +_SRC += mips_biu.vhd +_SRC += mips_cop.vhd +_SRC += mips_dcache.vhd +_SRC += mips_icache.vhd +_SRC += mips_muldiv.vhd +_SRC += mips_pipeline.vhd +_SRC += mips_reg.vhd +_SRC += mips_shifter.vhd +_SRC += mips_top.vhd + + +$(_PKG_NAME)_SRCS := $(addprefix $(_CURDIR)/,$(_SRC)) + +undefine $(_SRC) + diff --git a/lib/CPUs/MIPS/src/tb_mips_top.vhd b/lib/CPUs/MIPS/src/tb_mips_top.vhd index ef5ef2a..2c070de 100644 --- a/lib/CPUs/MIPS/src/tb_mips_top.vhd +++ b/lib/CPUs/MIPS/src/tb_mips_top.vhd @@ -447,6 +447,7 @@ STIMULUS: process wait until rising_edge(clk); nmi <= '0'; + assert false report "Test finished" severity failure; wait; end process;