@ -19,19 +19,35 @@
# ======================================================================
# ======================================================================
# Revision 1.0 2011/09/17
# Initial release
# enable the compile of the OVL library
# if set to 1, you must have the OVL_SRC files in the OVL_LOC directory
OVL_ENABLE = 0
# the location and sources of the OVL library (copyright of Accellera)
# OVL is not included in this project, you can download it from
# the Accellera homepage: http://www.accellera.org/downloads/standards/ovl/
OVL_LOC = ../../../../OVL/
i f e q ( $( OVL_ENABLE ) , 1 )
OVL_SRC = $( OVL_LOC) /std_ovl.vhd $( OVL_LOC) /std_ovl_components.vhd \
$( OVL_LOC) /std_ovl_procs.vhd $( OVL_LOC) /std_ovl_clock_gating.vhd \
$( OVL_LOC) /std_ovl_reset_gating.vhd $( OVL_LOC) /ovl_*.vhd \
$( OVL_LOC) /vhdl93/ovl_*_rtl.vhd
e l s e
OVL_SRC =
e n d i f
all : sim wave
all : sim wave
sim : tb_des .ghw
sim : tb_des .ghw
tb_des.ghw : ../rtl /*.vhd tb_des .vhd
tb_des.ghw : ../rtl /*.vhd tb_des .vhd $( OVL_SRC )
ghdl -a $( OVL_SRC)
ghdl -a ../rtl/des_pkg.vhd ../rtl/des.vhd tb_des.vhd
ghdl -a ../rtl/des_pkg.vhd ../rtl/des.vhd tb_des.vhd
ghdl -e tb_des
ghdl -e tb_des
ghdl -r tb_des --wave= tb_des.ghw --assert-level= error --stop-time= 11us
ghdl -r tb_des --wave= tb_des.ghw --assert-level= error --stop-time= 11us
wave : tb_des .ghw
wave : tb_des .ghw
gtkwave -T tb_des.tcl tb_des.ghw
gtkwave -T tb_des.tcl tb_des.ghw