@ -19,15 +19,29 @@
# ======================================================================
# Revision 1.0 2011/09/23
# 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
sim : tb_cbcdes .ghw
tb_cbcdes.ghw : ../rtl /*.vhd tb_cbcdes .vhd
tb_cbcdes.ghw : ../rtl /*.vhd tb_cbcdes .vhd $( OVL_SRC )
ghdl -a $( OVL_SRC)
ghdl -a ../rtl/des_pkg.vhd ../rtl/des.vhd ../rtl/cbcdes.vhd tb_cbcdes.vhd
ghdl -e tb_cbcdes
ghdl -r tb_cbcdes --wave= tb_cbcdes.ghw --assert-level= error --stop-time= 220us