Skip to content

Commit af3cbb8

Browse files
committed
Merge branch 'feature_axi_narrow' into develop
2 parents 4a4d5f0 + e6dbad2 commit af3cbb8

File tree

22 files changed

+2242
-111
lines changed

22 files changed

+2242
-111
lines changed

examples/thread_add_ipcore/Makefile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
TARGET=$(shell ls *.py | grep -v test | grep -v parsetab.py)
2+
ARGS=
3+
4+
PYTHON=python3
5+
#PYTHON=python
6+
#OPT=-m pdb
7+
#OPT=-m cProfile -s time
8+
#OPT=-m cProfile -o profile.rslt
9+
10+
.PHONY: all
11+
all: test
12+
13+
.PHONY: run
14+
run:
15+
$(PYTHON) $(OPT) $(TARGET) $(ARGS)
16+
# make compile run -C *_v1_00_a/test/
17+
18+
.PHONY: test
19+
test:
20+
$(PYTHON) -m pytest -vv
21+
22+
.PHONY: check
23+
check:
24+
$(PYTHON) $(OPT) $(TARGET) $(ARGS) > tmp.v
25+
iverilog -tnull -Wall tmp.v
26+
rm -f tmp.v
27+
28+
.PHONY: clean
29+
clean:
30+
rm -rf *.pyc __pycache__ parsetab.py .cache *.out *.png *.dot tmp.v uut.vcd
31+
rm -rf *_v1_00_a

0 commit comments

Comments
 (0)