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
3ffb4171
Commit
3ffb4171
authored
May 24, 2019
by
SergeyDegtyar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests for misc/scc_feedback
parent
8f683d8f
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
1 deletions
+12
-1
misc/Makefile
+1
-1
misc/run.sh
+3
-0
misc/scripts/scc_all_cell_types.ys
+1
-0
misc/scripts/scc_expect.ys
+1
-0
misc/scripts/scc_expect1.ys
+3
-0
misc/scripts/scc_max_depth.ys
+1
-0
misc/scripts/scc_nofeedback.ys
+1
-0
misc/scripts/scc_set_attr.ys
+1
-0
No files found.
misc/Makefile
View file @
3ffb4171
...
...
@@ -44,7 +44,7 @@ $(eval $(call template,show, show show_colorattr show_colors show_color show_enu
#scc
$(eval
$(call
template,scc,
scc
scc_all_cell_types
scc_expect
scc_max_depth
scc_nofeedback
scc_select
scc_set_attr
))
$(eval
$(call
template,scc_feedback,
scc
scc_all_cell_types
scc_expect
scc_max_depth
scc_nofeedback
scc_select
scc_set_attr
))
$(eval
$(call
template,scc_feedback,
scc
scc_all_cell_types
scc_expect
1
scc_max_depth
scc_nofeedback
scc_select
scc_set_attr
))
$(eval
$(call
template,scc_hier_feedback,
scc
scc_all_cell_types
scc_expect
scc_max_depth
scc_nofeedback
scc_select
scc_set_attr
))
...
...
misc/run.sh
View file @
3ffb4171
...
...
@@ -137,6 +137,9 @@ elif [ "$2" = "scatter" ]; then
elif
[
"
$1
"
=
"scc"
]
||
\
[
"
$1
"
=
"scc_hier_feedback"
]
;
then
expected_string
=
"0 SCCs"
if
[
"
$1
"
=
"scc_hier_feedback"
]
&&
[
"
$2
"
=
"scc_all_cell_types"
]
;
then
expected
=
"0"
fi
elif
[
"
$1
"
=
"scc_feedback"
]
;
then
expected_string
=
"0 SCCs"
expected
=
"0"
...
...
misc/scripts/scc_all_cell_types.ys
View file @
3ffb4171
read_verilog ../top.v
proc
tee -o result.log scc -all_cell_types top
misc/scripts/scc_expect.ys
View file @
3ffb4171
read_verilog ../top.v
proc
tee -o result.log scc -expect 0 top
misc/scripts/scc_expect1.ys
0 → 100644
View file @
3ffb4171
read_verilog ../top.v
proc
tee -o result.log scc -expect 1 top
misc/scripts/scc_max_depth.ys
View file @
3ffb4171
read_verilog ../top.v
proc
tee -o result.log scc -max_depth 2 top
misc/scripts/scc_nofeedback.ys
View file @
3ffb4171
read_verilog ../top.v
proc
tee -o result.log scc -nofeedback top
misc/scripts/scc_set_attr.ys
View file @
3ffb4171
read_verilog ../top.v
proc
tee -o result.log scc -set_attr attr true top
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