Browse Source

adapt makefile to new directory structure; new variable SRC_FILES for vhdl sources

master
T. Meissner 12 years ago
parent
commit
dd979b5cd3
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      tdes/sim/vhdl/makefile

+ 5
- 2
tdes/sim/vhdl/makefile View File

@ -19,12 +19,15 @@
# ====================================================================== # ======================================================================
SRC_FILES = ../../rtl/vhdl/des_pkg.vhd ../../rtl/vhdl/des.vhd ../../rtl/vhdl/tdes.vhd
all : sim wave all : sim wave
sim : tb_tdes.ghw sim : tb_tdes.ghw
tb_tdes.ghw : ../rtl/*.vhd tb_tdes.vhd
ghdl -a ../rtl/des_pkg.vhd ../rtl/des.vhd ../rtl/tdes.vhd tb_tdes.vhd
tb_tdes.ghw : $(SRC_FILES) tb_tdes.vhd
ghdl -a $(SRC_FILES) tb_tdes.vhd
ghdl -e tb_tdes ghdl -e tb_tdes
ghdl -r tb_tdes --wave=tb_tdes.ghw --assert-level=error --stop-time=45us ghdl -r tb_tdes --wave=tb_tdes.ghw --assert-level=error --stop-time=45us


Loading…
Cancel
Save