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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [rtl/] [w11a/] [tb/] [Makefile] - Blame information for rev 2

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

Line No. Rev Author Line
1 2 wfjm
# $Id: Makefile 311 2010-06-30 17:52:37Z mueller $
2
#
3
#  Revision History:
4
# Date         Rev Version  Comment
5
# 2009-11-22   252   1.2    add ISim support
6
# 2007-09-16    83   1.1.1  add include *.o.dep_ghdl
7
# 2007-07-06    64   1.1    use vbom's
8
# 2007-06-17    58   1.0    Initial version
9
#
10
EXE_all = tb_pdp11_core tb_rritba_pdp11core tb_rripdp_pdp11core \
11
        tb_rriext_pdp11core
12
#
13
#
14
.phony : all all_ssim all_tsim clean
15
#
16
all      : $(EXE_all)
17
all_ssim : $(EXE_all:=_ssim)
18
all_tsim : $(EXE_all:=_tsim)
19
#
20
clean : ise_clean ghdl_clean isim_clean
21
#
22
#-----
23
#
24
include $(RETROBASE)/rtl/vlib/Makefile.ghdl
25
include $(RETROBASE)/rtl/vlib/Makefile.isim
26
include $(RETROBASE)/rtl/vlib/Makefile.xflow
27
#
28
VBOM_all = $(wildcard *.vbom)
29
#
30
include $(VBOM_all:.vbom=.dep_xst)
31
include $(VBOM_all:.vbom=.dep_ghdl)
32
include $(VBOM_all:.vbom=.dep_isim)
33
include $(wildcard *.o.dep_ghdl)
34
#
35
#-----
36
#       time ~/misc_walter/p11_util/bin/pdp11 $*.scmd > $*.simh_raw_log
37
%.simh_log: %.dat
38
        tbdat2simh $*.dat > $*.scmd
39
        time pdp11 $*.scmd > $*.simh_raw_log
40
        simdat_check $*.simh_raw_log > $*.simh_log
41
        grep FAIL  $*.simh_log
42
 
43
check_dsim: tb_pdp11_core tb_pdp11_core_stim.dat
44
        time tbw tb_pdp11_core |\
45
           tee tb_pdp11_core_dsim.log |\
46
           egrep "(FAIL|DONE)" || true
47
        @ echo "# diff to reference"
48
        diff tb_pdp11_core_out_ref.dat tb_pdp11_core_dsim.log
49
 
50
check_ssim: tb_pdp11_core_ssim tb_pdp11_core_stim.dat
51
        time tbw tb_pdp11_core_ssim |\
52
           tee tb_pdp11_core_ssim.log |\
53
           egrep "(FAIL|DONE)" || true
54
        @ echo "# diff to reference"
55
        diff tb_pdp11_core_out_ref.dat tb_pdp11_core_ssim.log
56
 
57
check_simh: tb_pdp11_core_stim.simh_log

powered by: WebSVN 2.1.0

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