OpenCores
URL https://opencores.org/ocsvn/alu_with_selectable_inputs_and_outputs/alu_with_selectable_inputs_and_outputs/trunk

Subversion Repositories alu_with_selectable_inputs_and_outputs

[/] [alu_with_selectable_inputs_and_outputs/] [trunk/] [makefile/] [Makefile] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dragos_don
#/////////////////////////////////////////////////////////////////////
2
#////                                                             ////
3
#////      This project has been provided to you on behalf of:    ////
4
#////                                                             ////
5
#////           S.C. ASICArt S.R.L.                               ////
6
#////                           www.asicart.com                   ////
7
#////                           eli_f@asicart.com                 ////
8
#////                                                             ////
9
#////        Author: Dragos Constantin Doncean                    ////
10
#////        Email: doncean@asicart.com                           ////
11
#////        Mobile: +40-740-936997                               ////
12
#////                                                             ////
13
#////      Downloaded from: http://www.opencores.org/             ////
14
#////                                                             ////
15
#/////////////////////////////////////////////////////////////////////
16
#////                                                             ////
17
#//// Copyright (C) 2007 Dragos Constantin Doncean                ////
18
#////                         www.asicart.com                     ////
19
#////                         doncean@asicart.com                 ////
20
#////                                                             ////
21
#//// This source file may be used and distributed without        ////
22
#//// restriction provided that this copyright statement is not   ////
23
#//// removed from the file and that any derivative work contains ////
24
#//// the original copyright notice and the associated disclaimer.////
25
#////                                                             ////
26
#////     THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY     ////
27
#//// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED   ////
28
#//// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS   ////
29
#//// FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHOR      ////
30
#//// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,         ////
31
#//// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES    ////
32
#//// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE   ////
33
#//// GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR        ////
34
#//// BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF  ////
35
#//// LIABILITY, WHETHER IN  CONTRACT, STRICT LIABILITY, OR TORT  ////
36
#//// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT  ////
37
#//// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE         ////
38
#//// POSSIBILITY OF SUCH DAMAGE.                                 ////
39
#////                                                             ////
40
#/////////////////////////////////////////////////////////////////////
41
 
42
all: sim
43
 
44
_RTL_ =         ../rtl/dut.v \
45
                ../rtl/selector.v \
46
                ../rtl/alu.v \
47
                ../rtl/dmux.v
48
 
49
TEST_TYPE =
50
 
51
ifeq ($(TEST_TYPE), improved_test.v)
52
 
53
_TEST_ =        ../tests/improved_test.v
54
 
55
_BFMS_ =        ../verif_env/bfms/clk_gen.v \
56
                ../verif_env/bfms/res_bfm.v \
57
                ../verif_env/bfms/data_in_bfm.v
58
 
59
_MONITORS_ =    ../verif_env/monitors/clk_monitor.v \
60
                ../verif_env/monitors/res_monitor.v \
61
                ../verif_env/monitors/stb_monitor.v \
62
                ../verif_env/monitors/sel_monitor.v \
63
                ../verif_env/monitors/data_valid_in_monitor.v \
64
                ../verif_env/monitors/data_in_monitor.v \
65
                ../verif_env/monitors/data_out_monitor.v \
66
                ../verif_env/monitors/parity_monitor.v \
67
                ../verif_env/monitors/valid_monitor.v
68
 
69
_COLLECTORS_ =  ../verif_env/collectors/input_collector.v \
70
                ../verif_env/collectors/output_collector.v
71
 
72
_CHECKER_ =     ../verif_env/checker/checker.v
73
 
74
SOURCE_FILES =  $(_RTL_) $(_BFMS_) $(_MONITORS_) $(_COLLECTORS_) $(_CHECKER_) $(_TEST_)
75
 
76
endif
77
 
78
ifeq ($(TEST_TYPE), directed_test.v)
79
        _TEST_ =        ../tests/directed_test.v
80
        SOURCE_FILES =  $(_RTL_) $(_TEST_)
81
endif
82
 
83
ifeq ($(TEST_TYPE), random_test.v)
84
        _TEST_ =        ../tests/random_test.v
85
        SOURCE_FILES =  $(_RTL_) $(_TEST_)
86
endif
87
 
88
RUN_COMMAND = verilog
89
 
90
sim:
91
        $(RUN_COMMAND) $(SOURCE_FILES)
92
 
93
clean :
94
        rm -f *.log
95
        rm -f *.out
96
        rm -rf waves/*

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.