OpenCores
URL https://opencores.org/ocsvn/bluespec-h264/bluespec-h264/trunk

Subversion Repositories bluespec-h264

[/] [bluespec-h264/] [trunk/] [test-post-synth/] [Makefile] - Blame information for rev 89

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 89 jamey.hick
#=======================================================================
2
# 6.375 Makefile for vcs-sim-rtl
3
#-----------------------------------------------------------------------
4
# $Id: Makefile,v 1.1 2008-06-26 18:11:24 jamey.hicks Exp $
5
#
6
# This makefile will build a rtl simulator and run various tests to
7
# verify proper functionality.
8
#
9
 
10
default : all
11
 
12
basedir  = ../..
13
 
14
#--------------------------------------------------------------------
15
# Sources
16
#--------------------------------------------------------------------
17
 
18
# Library components
19
 
20
 
21
# Verilog sources
22
verilogsrcdir = ../src_verilog
23
synthsrcdir = ../dc/current
24
srcdir = ../build/
25
vclibdir = /mit/6.375/libs/tsl180/tsl18fs120/verilog/
26
bsclibdir = /mit/6.375/tools/bluespec/Bluespec-2007.03/lib/Verilog/
27
vsrcs = \
28
        $(verilogsrcdir)/top.v \
29
        $(srcdir)/mkTH.v \
30
        $(synthsrcdir)/synthesized.v \
31
        /mit/6.375/libs/tsl180/tsl18fs120/distrib/tsl18/v3.0/verilog/tsl18fs120/zero/mtb_verilog.v \
32
 
33
# Globally installed assembly tests
34
 
35
 
36
VCS      = vcs
37
VCS_OPTS = -notice -PP -line +v2k -timescale=1ns/1ps
38
 
39
 
40
VPATH += $(addprefix $(global_bmarkdir)/, $(global_bmarks)) \
41
         $(addprefix $(local_bmarkdir)/, $(local_bmarks))
42
 
43
incs  += -I. $(addprefix -I$(global_bmarkdir)/, $(global_bmarks)) \
44
             $(addprefix -I$(local_bmarkdir)/, $(local_bmarks))
45
 
46
#------------------------------------------------------------
47
# Build the processor simulator
48
 
49
vcs_sim = simv
50
$(vcs_sim) : $(vsrcs)
51
        $(VCS) $(VCS_OPTS) +incdir+$(srcdir) +incdir+$(synthsrcdir)  -o $(vcs_sim) \
52
               -y $(vclibdir) -y $(bsclibdir) +libext+.v+ $(addprefix -v ,$(vlibsrcs)) $(vsrcs)
53
 
54
junk += simv* csrc *.vpd vcs.key
55
 
56
 
57
all : $(vcs_sim)
58
 
59
#--------------------------------------------------------------------
60
# Clean up
61
#--------------------------------------------------------------------
62
 
63
clean :
64
        rm -rf $(junk) *~ \#* *.log *.cmd *.daidir

powered by: WebSVN 2.1.0

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