- added mips package

- let tb end with assertion

git-svn-id: http://moon:8086/svn/vhdl/trunk@1400 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2021-03-19 15:37:38 +00:00
parent 0404c24bdc
commit 7cf6386cff
2 changed files with 24 additions and 0 deletions
+23
View File
@@ -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)
+1
View File
@@ -447,6 +447,7 @@ STIMULUS: process
wait until rising_edge(clk);
nmi <= '0';
assert false report "Test finished" severity failure;
wait;
end process;