PRrules
881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# Commonrules for Project Reality source tree
#
# Makefiles which include this should first define PRDEPTH to be the relative
# path from their parent directory.
include $(ROOT)/usr/include/make/commonrules
#
# Inference rules
#
#
# Suffix Rules
#
.SUFFIXES : .v .sym .tab .mem .rdp .Z .ss .edf .vsyn
.v.sym:
$(RMVCOM) < $*.v | $(ECSGEN)
echo "TEXT 0 0 Left 2 $(*:T)" >> $(*:T).asy
$(ASYIN) $(*:T).asy
.c.tab:
$(HOST_CC) $*.c $(CFLAGS) -o $* $(LDFLAGS)
$* > $*.tab
.tab.mem:
$(TAB2VMEM) -o $*.mem -s 100 $*.tab > /dev/null
.mem.out:
simv +mem=$*.mem > $*.out
$(LOG_RESULT);
.c.rdp:
$(HOST_CC) $*.c $(CFLAGS) -o $* $(LDFLAGS)
$* > $*.rdp
.Z.out:
uncompress -c $*.Z > $*
.ss.edf :
cd `dirname $*` ; dc_shell -f `basename $*`.ss > `basename $*`.synlog ; pwd
.edf.vsyn :
dc_shell -x "read -f edif $*.edf ; write -f verilog -hier -o $*.vsyn; quit" > /dev/null