Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yosys-tests
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yosys-tests
Commits
184c3c3e
Commit
184c3c3e
authored
Feb 03, 2020
by
Miodrag Milanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add start flag for verific tests
parent
73d35b39
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
2 deletions
+10
-2
verific/.gitignore
+2
-0
verific/chparam/Makefile
+2
-1
verific/opers/Makefile
+2
-0
verific/sva/Makefile
+2
-0
verific/vhdl/Makefile
+2
-1
No files found.
verific/.gitignore
View file @
184c3c3e
/.stamp
.start
\ No newline at end of file
verific/chparam/Makefile
View file @
184c3c3e
...
...
@@ -40,9 +40,10 @@ test5.status: test5.out
echo
PASS
>
$@
)
||
echo
FAIL
>
$@
test1.out test2.out test3.out test4.out test5.out
:
test.ys top.v top.vhd
touch .start
@
yosys
-q
-q
test.ys
clean
:
rm
-f
*
.status
*
.out .stamp
rm
-f
*
.status
*
.out .stamp
.start
.PHONY
:
all clean
verific/opers/Makefile
View file @
184c3c3e
...
...
@@ -5,6 +5,7 @@ all: $(addsuffix .status,$(TESTS))
touch .stamp
%.status
:
%.sv run.sh
touch .start
-
bash run.sh
$
(
basename
$@
)
>
$
(
basename
$@
)
.log 2>&1
test
-f
$@
...
...
@@ -12,5 +13,6 @@ clean:
rm
-f
$
(
addsuffix .log,
$(TESTS)
)
rm
-f
$
(
addsuffix .status,
$(TESTS)
)
rm
-f
.stamp
rm
-f
.start
.PHONY
:
all clean
verific/sva/Makefile
View file @
184c3c3e
...
...
@@ -5,6 +5,7 @@ all: $(addsuffix .status,$(TESTS))
touch .stamp
%.status
:
%.sv run.sh
touch .start
-
bash run.sh
$
(
basename
$@
)
>
$
(
basename
$@
)
.log 2>&1
test
-f
$@
...
...
@@ -16,5 +17,6 @@ clean:
rm
-f
$
(
addsuffix .status,
$(TESTS)
)
rm
-f
$
(
addsuffix .log,
$(TESTS)
)
rm
-f
.stamp
rm
-f
.start
.PHONY
:
all clean
verific/vhdl/Makefile
View file @
184c3c3e
...
...
@@ -3,10 +3,11 @@ all: test.status
touch .stamp
test.status
:
bar.vhd foo.vhd tb.sv test.ys top.vhd
touch .start
yosys
-ql
test.log test.ys
grep
'^SAT .*: SUCCESS'
test.log
&&
echo
PASS
>
test.status
||
echo
FAIL
>
test.status
clean
:
rm
-f
test.status test.log .stamp
rm
-f
test.status test.log .stamp
.start
.PHONY
:
all clean
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