From 51745c47d3d3df603868e96e306fa8b0ecb9d0cc Mon Sep 17 00:00:00 2001 From: tmeissner Date: Mon, 25 Mar 2013 00:15:35 +0100 Subject: [PATCH] adapt to new directory structure --- cbcdes/sim/vhdl/makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cbcdes/sim/vhdl/makefile b/cbcdes/sim/vhdl/makefile index 84dd194..00e8ee7 100644 --- a/cbcdes/sim/vhdl/makefile +++ b/cbcdes/sim/vhdl/makefile @@ -19,12 +19,15 @@ # ====================================================================== +SRC_FILES = ../../rtl/vhdl/des_pkg.vhd ../../rtl/vhdl/des.vhd ../../rtl/vhdl/cbcdes.vhd + + all : sim wave sim : tb_cbcdes.ghw -tb_cbcdes.ghw : ../rtl/*.vhd tb_cbcdes.vhd - ghdl -a ../rtl/des_pkg.vhd ../rtl/des.vhd ../rtl/cbcdes.vhd tb_cbcdes.vhd +tb_cbcdes.ghw : $(SRC_FILES) tb_cbcdes.vhd + ghdl -a $(SRC_FILES) tb_cbcdes.vhd ghdl -e tb_cbcdes ghdl -r tb_cbcdes --wave=tb_cbcdes.ghw --assert-level=error --stop-time=220us