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
b4a7fc1a
Commit
b4a7fc1a
authored
Mar 04, 2018
by
Clifford Wolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve logging and console output
Signed-off-by: Clifford Wolf <clifford@clifford.at>
parent
a5dee4ad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
Makefile
+1
-1
verific/opers/Makefile
+1
-1
verific/opers/run.sh
+1
-1
verific/sva/Makefile
+2
-1
No files found.
Makefile
View file @
b4a7fc1a
SUBDIRS
=
verific
all
:
$(addsuffix /.stamp
,
$(SUBDIRS))
find
-name
"*.status"
| sort | xargs
grep
-H
.
| sed
's,.status:,\t,; s,PASS,pass,;'
| expand
-t40
echo
;
find
*
-name
"*.status"
| sort | xargs
grep
-H
.
| sed
's,^, ,; s,.status:,\t,; s,PASS,pass,;'
| expand
-t40
;
echo
touch .stamp
%/.stamp
:
...
...
verific/opers/Makefile
View file @
b4a7fc1a
...
...
@@ -5,7 +5,7 @@ all: $(addsuffix .status,$(TESTS))
touch .stamp
%.status
:
%.sv run.sh
-
bash run.sh
$
(
basename
$@
)
-
bash run.sh
$
(
basename
$@
)
>
$
(
basename
$@
)
.log 2>&1
test
-f
$@
clean
:
...
...
verific/opers/run.sh
View file @
b4a7fc1a
...
...
@@ -3,7 +3,7 @@
set
-ex
trap
"echo FAIL >
$1
.status"
ERR
yosys
-
l
$1
.log
-
p
"
yosys
-p
"
verific -sv
$1
.sv
verific -import -v top
synth -flatten -top top
...
...
verific/sva/Makefile
View file @
b4a7fc1a
...
...
@@ -5,7 +5,7 @@ all: $(addsuffix .status,$(TESTS))
touch .stamp
%.status
:
%.sv run.sh
-
bash run.sh
$
(
basename
$@
)
-
bash run.sh
$
(
basename
$@
)
>
$
(
basename
$@
)
.log 2>&1
test
-f
$@
clean
:
...
...
@@ -14,6 +14,7 @@ clean:
rm
-f
$
(
addsuffix .pass_??.sby,
$(TESTS)
)
rm
-f
$
(
addsuffix .fail_??.sby,
$(TESTS)
)
rm
-f
$
(
addsuffix .status,
$(TESTS)
)
rm
-f
$
(
addsuffix .log,
$(TESTS)
)
rm
-f
.stamp
.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