Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit core collection
Commits
903ba03a
Commit
903ba03a
authored
Jan 23, 2017
by
Adam Wujek
💬
Committed by
Grzegorz Daniluk
Jan 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testbench: Create Makefile to be used by CI
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
b18df73e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
Makefile
testbench/Makefile
+32
-0
No files found.
testbench/Makefile
0 → 100644
View file @
903ba03a
# This Makefile can be called by the Continuous Integration (CI) tool to execute all
# testbenches added for CI
TB_DIRS
=
wr_minic
TB_DIRS
+=
wr_minic2
.PHONY
:
$(TB_DIRS)
all
:
$(TB_DIRS)
$(TB_DIRS)
:
echo
$@
@
echo
"Run HDL-MAKE"
cd
"
$@
"
;
\
source
$(ISE_PATH)
/settings64.sh
;
\
export
XILINX
=
$(ISE_PATH)
;
\
$(HDLMAKE_PATH)
/hdl-make 2>&1
@echo
"Run make"
$(MAKE)
-C
$@
$(TARGET)
@echo
"Run vsim"
cd
"$@"
;
\
vsim
-c
-do
"run_ci.do"
clean
:
for
d
in
$(TB_DIRS)
;
do
\
if
[
-f
$$
d/Makefile
]
;
then
\
$(MAKE)
-C
$$
d
$@
;
\
rm
-f
$$
d/Makefile
;
\
fi
\
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment