makefile 1.2 KB
Newer Older
Friedrich Beckmann's avatar
first  
Friedrich Beckmann committed
1
2
3
## ----------------------------------------------------------------------------
## Script     : makefile
## ----------------------------------------------------------------------------
4
## Author     : Johann Faerber, Friedrich Beckmann
Friedrich Beckmann's avatar
first  
Friedrich Beckmann committed
5
6
## Company    : University of Applied Sciences Augsburg
## ----------------------------------------------------------------------------
7
8
9
## Description: This makefile allows automating design flow with ModelSim,
##              it is based on a design directory structure described in 
##              ../makefile
Friedrich Beckmann's avatar
first  
Friedrich Beckmann committed
10
11
12
13
14
## ----------------------------------------------------------------------------

###################################################################
# Project Configuration: 
#
15
# assign variable PROJECT with the top level project name
Friedrich Beckmann's avatar
first  
Friedrich Beckmann committed
16
#
17
18
19
# Prerequisite: 
#   - mandatory design directory structure (see end of file)
#   - assumes file name of testbench t_$(PROJECT).vhd
Friedrich Beckmann's avatar
first  
Friedrich Beckmann committed
20
21
22
23
###################################################################

PROJECT = binto7segment

Johann Faerber's avatar
Johann Faerber committed
24
include ./makefile.sources
Friedrich Beckmann's avatar
first  
Friedrich Beckmann committed
25

Johann Faerber's avatar
Johann Faerber committed
26
27
# Add here the testbench file
SOURCE_FILES = $(SYN_SOURCE_FILES) \
28
29
../../src/binto7segment_stimuli.vhd \
../../src/t_$(PROJECT).vhd
Friedrich Beckmann's avatar
first  
Friedrich Beckmann committed
30

Johann Faerber's avatar
Johann Faerber committed
31
include ../makefile
Friedrich Beckmann's avatar
first  
Friedrich Beckmann committed
32