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
b81c0b34
Commit
b81c0b34
authored
Mar 09, 2019
by
Eddie Hung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to properly search for ALL patterns
parent
c7779d11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
17 deletions
+27
-17
verific/chparam/Makefile
+27
-17
No files found.
verific/chparam/Makefile
View file @
b81c0b34
...
...
@@ -3,31 +3,41 @@ all: test1.status test2.status test3.status test4.status test5.status
@
touch .stamp
test1.status
:
test1.out
@
grep
-q
-e
"^Importing module top_veri_v2k(WIDTH=2).
$$
"
-e
"^Importing module top_veri_95(WIDTH=2).
$$
"
-e
"^Importing module top_vhdl(width=2).
$$
"
$<
&&
echo
PASS
>
$@
||
echo
FAIL
>
$@
@
(
grep
-q
-e
"^Importing module top_veri_v2k(WIDTH=2).
$$
"
$<
&&
\
grep
-q
-e
"^Importing module top_veri_95(WIDTH=2).
$$
"
$<
&&
\
grep
-q
-e
"^Importing module top_vhdl(width=2).
$$
"
$<
&&
\
echo
PASS
>
$@
)
||
echo
FAIL
>
$@
test2.status
:
test2.out
@
grep
-q
-e
"^Importing module top_veri_v2k(greeting=
\"
hola hola
\"
).
$$
"
-e
"^Importing module top_veri_95(greeting=
\"
hola hola
\"
).
$$
"
-e
"^Importing module top_vhdl(greeting=
\"
hola hola
\"
).
$$
"
$<
&&
echo
PASS
>
$@
||
echo
FAIL
>
$@
@
(
grep
-q
-e
"^Importing module top_veri_v2k(greeting=
\"
hola hola
\"
).
$$
"
$<
&&
\
grep
-q
-e
"^Importing module top_veri_95(greeting=
\"
hola hola
\"
).
$$
"
$<
&&
\
grep
-q
-e
"^Importing module top_vhdl(greeting=
\"
hola hola
\"
).
$$
"
$<
&&
\
echo
PASS
>
$@
)
||
echo
FAIL
>
$@
test3.status
:
test3.out
@
grep
-q
-e
"^Importing module top_veri_v2k.
$$
"
-e
"^Importing module top_veri_95.
$$
"
-e
"^Importing module top_vhdl.
$$
"
$<
&&
echo
PASS
>
$@
||
echo
FAIL
>
$@
@
(
grep
-q
-e
"^Importing module top_veri_v2k.
$$
"
$<
&&
\
grep
-q
-e
"^Importing module top_veri_95.
$$
"
$<
&&
\
grep
-q
-e
"^Importing module top_vhdl.
$$
"
$<
&&
\
grep
-q
-e
"^VERIFIC-WARNING
\\
[VHDL-1676
\\
] top.vhd:1: unit 'top_vhdl' does not have a generic named 'nonexistent' to override
$$
"
$<
&&
\
grep
-q
-e
"^VERIFIC-WARNING
\\
[VERI-1928
\\
] top.v:1: module 'top_veri_v2k' does not have a parameter named 'nonexistent' to override
$$
"
$<
&&
\
grep
-q
-e
"^VERIFIC-WARNING
\\
[VERI-1928
\\
] top.v:10: module 'top_veri_95' does not have a parameter named 'nonexistent' to override
$$
"
$<
&&
\
echo
PASS
>
$@
)
||
echo
FAIL
>
$@
test4.status
:
test4.out
@
grep
-q
-e
"^Importing module top_veri_v2k.
$$
"
\
-e
"^Importing module top_veri_95.
$$
"
\
-e
"^Importing module top_vhdl.
$$
"
\
-e
"^VERIFIC-WARNING
\\
[VHDL-1676
\\
] top.vhd:1: unit 'top_vhdl' does not have a generic named 'nonexistent' to override
$$
"
\
-e
"^VERIFIC-WARNING
\\
[VERI-1928
\\
] top.v:1: module 'top_veri_v2k' does not have a parameter named 'nonexistent' to override
$$
"
\
-e
"^VERIFIC-WARNING
\\
[VERI-1928
\\
] top.v:10: module 'top_veri_95' does not have a parameter named 'nonexistent' to override
$$
"
\
$<
&&
echo
PASS
>
$@
||
echo
FAIL
>
$@
@
(
grep
-q
-e
"^Importing module top_veri_v2k.
$$
"
$<
&&
\
grep
-q
-e
"^Importing module top_veri_95.
$$
"
$<
&&
\
grep
-q
-e
"^Importing module top_vhdl.
$$
"
$<
&&
\
grep
-q
-e
"^-chparam WIDTH already specified: overwriting.
$$
"
$<
&&
\
echo
PASS
>
$@
)
||
echo
FAIL
>
$@
test5.status
:
test5.out
@
grep
-q
-e
"^Importing module top_veri_v2k(WIDTH=2,INIT=0,greeting=
\"
bonjour
\"
).
$$
"
\
-e
"^Importing module top_veri_95(WIDTH=2,INIT=0,greeting=
\"
bonjour
\"
).
$$
"
\
-e
"^Importing module top_vhdl(width=2,init='0',greeting=
\"
bonjour
\"
).
$$
"
\
-e
"^VERIFIC-WARNING
\\
[VHDL-1676
\\
] top.vhd:1: unit 'top_vhdl' does not have a generic named 'nonexistent' to override
$$
"
\
-e
"^VERIFIC-WARNING
\\
[VERI-1928
\\
] top.v:1: module 'top_veri_v2k' does not have a parameter named 'nonexistent' to override
$$
"
\
-e
"^VERIFIC-WARNING
\\
[VERI-1928
\\
] top.v:10: module 'top_veri_95' does not have a parameter named 'nonexistent' to override
$$
"
\
$<
&&
echo
PASS
>
$@
||
echo
FAIL
>
$@
@
(
grep
-q
-e
"^Importing module top_veri_v2k(WIDTH=2,INIT=0,greeting=
\"
bonjour
\"
).
$$
"
$<
&&
\
grep
-q
-e
"^Importing module top_veri_95(WIDTH=2,INIT=0,greeting=
\"
bonjour
\"
).
$$
"
$<
&&
\
grep
-q
-e
"^Importing module top_vhdl(width=2,init='0',greeting=
\"
bonjour
\"
).
$$
"
$<
&&
\
grep
-q
-e
"^VERIFIC-WARNING
\\
[VHDL-1676
\\
] top.vhd:1: unit 'top_vhdl' does not have a generic named 'nonexistent' to override
$$
"
$<
&&
\
grep
-q
-e
"^VERIFIC-WARNING
\\
[VERI-1928
\\
] top.v:1: module 'top_veri_v2k' does not have a parameter named 'nonexistent' to override
$$
"
$<
&&
\
grep
-q
-e
"^VERIFIC-WARNING
\\
[VERI-1928
\\
] top.v:10: module 'top_veri_95' does not have a parameter named 'nonexistent' to override
$$
"
$<
&&
\
echo
PASS
>
$@
)
||
echo
FAIL
>
$@
test1.out test2.out test3.out test4.out test5.out
:
test.ys top.v top.vhd
@
yosys
-q
-q
test.ys
...
...
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