|  |  | @ -19,30 +19,11 @@ | 
			
		
	
		
			
				
					|  |  |  | # ====================================================================== | 
			
		
	
		
			
				
					|  |  |  |  | 
			
		
	
		
			
				
					|  |  |  |  | 
			
		
	
		
			
				
					|  |  |  | # 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/ | 
			
		
	
		
			
				
					|  |  |  | ifeq ($(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 | 
			
		
	
		
			
				
					|  |  |  | else | 
			
		
	
		
			
				
					|  |  |  | OVL_SRC = | 
			
		
	
		
			
				
					|  |  |  | endif | 
			
		
	
		
			
				
					|  |  |  |  | 
			
		
	
		
			
				
					|  |  |  |  | 
			
		
	
		
			
				
					|  |  |  | all : sim wave | 
			
		
	
		
			
				
					|  |  |  |  | 
			
		
	
		
			
				
					|  |  |  | sim : tb_cbctdes.ghw | 
			
		
	
		
			
				
					|  |  |  |  | 
			
		
	
		
			
				
					|  |  |  | tb_cbctdes.ghw : ../rtl/*.vhd tb_cbctdes.vhd $(OVL_SRC) | 
			
		
	
		
			
				
					|  |  |  | ghdl -a $(OVL_SRC) | 
			
		
	
		
			
				
					|  |  |  | tb_cbctdes.ghw : ../rtl/*.vhd tb_cbctdes.vhd | 
			
		
	
		
			
				
					|  |  |  | ghdl -a ../rtl/des_pkg.vhd ../rtl/des.vhd ../rtl/tdes.vhd ../rtl/cbctdes.vhd tb_cbctdes.vhd | 
			
		
	
		
			
				
					|  |  |  | ghdl -e tb_cbctdes | 
			
		
	
		
			
				
					|  |  |  | ghdl -r tb_cbctdes --wave=tb_cbctdes.ghw --assert-level=error --stop-time=45us | 
			
		
	
	
		
			
				
					|  |  | 
 |