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
40f6118b
Commit
40f6118b
authored
Jul 08, 2019
by
Eddie Hung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try -widemux 4 for more of a challenge
parent
5a320a1f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
architecture/synth_xilinx_mux/assert_area.py
+3
-3
architecture/synth_xilinx_mux/run-test.sh
+1
-1
No files found.
architecture/synth_xilinx_mux/assert_area.py
View file @
40f6118b
...
@@ -10,7 +10,7 @@ area = {}
...
@@ -10,7 +10,7 @@ area = {}
# 1 2 3 4 5 6 F7 F8
# 1 2 3 4 5 6 F7 F8
area
[
2
]
=
[
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
]
area
[
2
]
=
[
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
]
area
[
3
]
=
[
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
]
area
[
3
]
=
[
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
]
area
[
4
]
=
[
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
]
area
[
4
]
=
[
0
,
0
,
0
,
0
,
0
,
0
,
2
,
1
]
area
[
5
]
=
[
0
,
0
,
2
,
0
,
0
,
0
,
1
,
1
]
area
[
5
]
=
[
0
,
0
,
2
,
0
,
0
,
0
,
1
,
1
]
area
[
7
]
=
[
0
,
0
,
3
,
0
,
0
,
0
,
2
,
1
]
area
[
7
]
=
[
0
,
0
,
3
,
0
,
0
,
0
,
2
,
1
]
area
[
8
]
=
[
0
,
0
,
4
,
0
,
0
,
0
,
2
,
1
]
area
[
8
]
=
[
0
,
0
,
4
,
0
,
0
,
0
,
2
,
1
]
...
@@ -21,8 +21,8 @@ area[17] = [ 0, 0, 1, 0, 0, 4, 2, 1 ]
...
@@ -21,8 +21,8 @@ area[17] = [ 0, 0, 1, 0, 0, 4, 2, 1 ]
area
[
31
]
=
[
0
,
0
,
1
,
0
,
1
,
7
,
4
,
2
]
area
[
31
]
=
[
0
,
0
,
1
,
0
,
1
,
7
,
4
,
2
]
area
[
32
]
=
[
0
,
0
,
1
,
0
,
0
,
8
,
4
,
2
]
area
[
32
]
=
[
0
,
0
,
1
,
0
,
0
,
8
,
4
,
2
]
area
[
33
]
=
[
0
,
0
,
0
,
0
,
1
,
8
,
4
,
2
]
area
[
33
]
=
[
0
,
0
,
0
,
0
,
1
,
8
,
4
,
2
]
area
[
63
]
=
[
0
,
0
,
0
,
0
,
1
,
1
6
,
8
,
4
]
area
[
63
]
=
[
0
,
0
,
0
,
0
,
1
,
1
5
,
10
,
5
]
area
[
64
]
=
[
0
,
0
,
0
,
0
,
0
,
1
7
,
8
,
4
]
area
[
64
]
=
[
0
,
0
,
0
,
0
,
0
,
1
6
,
10
,
5
]
area
[
65
]
=
[
0
,
0
,
2
,
0
,
0
,
16
,
9
,
5
]
area
[
65
]
=
[
0
,
0
,
2
,
0
,
0
,
16
,
9
,
5
]
area
[
127
]
=
[
0
,
0
,
4
,
0
,
1
,
31
,
18
,
9
]
area
[
127
]
=
[
0
,
0
,
4
,
0
,
1
,
31
,
18
,
9
]
area
[
128
]
=
[
0
,
0
,
4
,
0
,
0
,
32
,
18
,
9
]
area
[
128
]
=
[
0
,
0
,
4
,
0
,
0
,
32
,
18
,
9
]
...
...
architecture/synth_xilinx_mux/run-test.sh
View file @
40f6118b
...
@@ -26,7 +26,7 @@ python3 generate_large.py
...
@@ -26,7 +26,7 @@ python3 generate_large.py
python3 ../assert_area.py
python3 ../assert_area.py
${
MAKE
:-
make
}
-f
../../../../tools/autotest.mk
$seed
*
.v
EXTRA_FLAGS
=
"
\
${
MAKE
:-
make
}
-f
../../../../tools/autotest.mk
$seed
*
.v
EXTRA_FLAGS
=
"
\
-p 'design -copy-to __test __test;
\
-p 'design -copy-to __test __test;
\
synth_xilinx -abc9 -widemux
5
;
\
synth_xilinx -abc9 -widemux
4
;
\
design -copy-from __test *;
\
design -copy-from __test *;
\
select -assert-any __test;
\
select -assert-any __test;
\
script -scriptwire __test/w:assert_area'
\
script -scriptwire __test/w:assert_area'
\
...
...
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