URL
https://opencores.org/ocsvn/xulalx25soc/xulalx25soc/trunk
[/] [xulalx25soc/] [trunk/] [Makefile] - Blame information for rev 7
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
6 |
dgisselq |
.PHONY: all
|
2 |
|
|
all: datestamp verilated bit
|
3 |
|
|
# Could also depend upon load, if desired, but not necessary
|
4 |
|
|
BENCH := `find bench -name Makefile` `find bench -name "*.cpp"` `find bench -name "*.h"`
|
5 |
|
|
RTL := `find rtl -name "*.v"` `find rtl -name Makefile`
|
6 |
|
|
NOTES := `find . -name "*.txt"` `find . -name "*.html"`
|
7 |
|
|
SW := `find sw -name "*.cpp"` `find sw -name "*.h"` \
|
8 |
|
|
`find sw -name "*.sh"` `find sw -name "*.py"` \
|
9 |
|
|
`find sw -name "*.pl"` `find sw -name Makefile`
|
10 |
|
|
PROJ := xilinx/xula.prj xilinx/xula.xise xilinx/xula.xst \
|
11 |
|
|
xilinx/xula.ut xilinx/Makefile
|
12 |
|
|
BIN := `find xilinx -name "*.bit"`
|
13 |
|
|
CONSTRAINTS := xula.ucf
|
14 |
|
|
YYMMDD:=`date +%Y%m%d`
|
15 |
|
|
|
16 |
|
|
datestamp: $(YYMMDD)-build.v
|
17 |
|
|
$(YYMMDD)-build.v:
|
18 |
|
|
-rm -rf 2*-build.v
|
19 |
|
|
perl xilinx/mkdatev.pl > $(YYMMDD)-build.v
|
20 |
|
|
cd rtl; ln -fs ../$(YYMMDD)-build.v builddate.v
|
21 |
|
|
|
22 |
|
|
.PHONY: archive
|
23 |
|
|
archive:
|
24 |
|
|
tar --transform s,^,$(YYMMDD)-xula/, -chjf $(YYMMDD)-xula.tjz $(BENCH) $(SW) $(RTL) $(NOTES) $(PROJ) $(BIN) $(CONSTRAINTS)
|
25 |
|
|
|
26 |
|
|
.PHONY: tare
|
27 |
|
|
tare:
|
28 |
|
|
echo tar --transform s,^,$(YYMMDD)-xula/, -chjf $(YYMMDD)-xula.tjz $(BENCH) $(SW) $(RTL) $(NOTES) $(PROJ) $(BIN) $(CONSTRAINTS)
|
29 |
|
|
|
30 |
|
|
.PHONY: verilated
|
31 |
|
|
verilated:
|
32 |
|
|
cd rtl ; make
|
33 |
|
|
|
34 |
|
|
.PHONY: bit
|
35 |
|
|
bit:
|
36 |
|
|
cd xilinx ; make xula.bit
|
37 |
|
|
|
38 |
|
|
.PHONY: load
|
39 |
|
|
load: bit
|
40 |
|
|
xsload -b xula2-lx25 --fpga xilinx/xula.bit
|
41 |
|
|
|
42 |
|
|
.PHONY: xload
|
43 |
|
|
xload:
|
44 |
|
|
xsload -b xula2-lx25 --fpga xilinx/toplevel.bit
|
45 |
|
|
|
46 |
|
|
.PHONY: timing
|
47 |
|
|
timing:
|
48 |
|
|
cd xilinx ; make timing
|
49 |
|
|
|
50 |
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.