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
c5f1e079
Unverified
Commit
c5f1e079
authored
May 02, 2019
by
Miodrag Milanović
Committed by
GitHub
May 02, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #28 from SergeyDegtyar/master
Fix failed tests for dffe cell
parents
cd025088
f9f4d7b7
Show whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
29 additions
and
29 deletions
+29
-29
architecture/synth_anlogic/testbench.v
+1
-1
architecture/synth_anlogic/top.v
+1
-1
architecture/synth_ecp5/testbench.v
+1
-1
architecture/synth_ecp5/top.v
+1
-1
architecture/synth_greenpak4/testbench.v
+1
-1
architecture/synth_greenpak4/top.v
+1
-1
architecture/synth_ice40/testbench.v
+1
-1
architecture/synth_ice40/top.v
+1
-1
architecture/synth_xilinx/testbench.v
+1
-1
architecture/synth_xilinx/top.v
+1
-1
simple/async2sync/testbench.v
+1
-1
simple/async2sync/top.v
+1
-1
simple/clk2fflogic/testbench.v
+1
-1
simple/clk2fflogic/top.v
+1
-1
simple/dff2dffe_unmap/testbench.v
+1
-1
simple/dff2dffs/testbench.v
+1
-1
simple/extract/testbench.v
+1
-1
simple/flowmap/testbench.v
+1
-1
simple/flowmap/top.v
+1
-1
simple/hierarchy/testbench.v
+1
-1
simple/hierarchy/top.v
+1
-1
simple/hierarchy_huge/testbench.v
+1
-1
simple/hierarchy_huge/top.v
+1
-1
simple/prep/testbench.v
+1
-1
simple/prep/top.v
+1
-1
simple/synth/testbench.v
+1
-1
simple/synth/top.v
+1
-1
simple/uniquify/testbench.v
+1
-1
simple/uniquify/top.v
+1
-1
No files found.
architecture/synth_anlogic/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
architecture/synth_anlogic/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
0
;
q
=
0
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
architecture/synth_ecp5/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
architecture/synth_ecp5/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
0
;
q
=
0
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
architecture/synth_greenpak4/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
architecture/synth_greenpak4/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
0
;
q
=
0
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
architecture/synth_ice40/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
architecture/synth_ice40/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
0
;
q
=
0
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
architecture/synth_xilinx/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
architecture/synth_xilinx/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
0
;
q
=
0
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
simple/async2sync/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/async2sync/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
0
;
q
=
0
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
simple/clk2fflogic/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/clk2fflogic/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
0
;
q
=
0
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
simple/dff2dffe_unmap/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/dff2dffs/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/extract/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/flowmap/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/flowmap/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
0
;
q
=
0
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
simple/hierarchy/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/hierarchy/top.v
View file @
c5f1e079
...
@@ -47,7 +47,7 @@ module dffe
...
@@ -47,7 +47,7 @@ module dffe
initial
begin
initial
begin
q
=
Z
;
q
=
Z
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
simple/hierarchy_huge/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/hierarchy_huge/top.v
View file @
c5f1e079
...
@@ -47,7 +47,7 @@ module dffe
...
@@ -47,7 +47,7 @@ module dffe
initial
begin
initial
begin
q
=
Z
;
q
=
Z
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
simple/prep/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/prep/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
0
;
q
=
0
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
simple/synth/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/synth/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
0
;
q
=
0
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
simple/uniquify/testbench.v
View file @
c5f1e079
...
@@ -64,7 +64,7 @@ module testbench;
...
@@ -64,7 +64,7 @@ module testbench;
else
else
adffn
<=
dinA
[
0
]
;
adffn
<=
dinA
[
0
]
;
always
@
(
posedge
clk
,
posedge
dinA
[
2
]
)
always
@
(
posedge
clk
)
if
(
dinA
[
2
]
)
if
(
dinA
[
2
]
)
dffe
<=
dinA
[
0
]
;
dffe
<=
dinA
[
0
]
;
...
...
simple/uniquify/top.v
View file @
c5f1e079
...
@@ -35,7 +35,7 @@ module dffe
...
@@ -35,7 +35,7 @@ module dffe
initial
begin
initial
begin
q
=
1
'
bZ
;
q
=
1
'
bZ
;
end
end
always
@
(
posedge
clk
,
posedge
en
)
always
@
(
posedge
clk
)
if
(
en
)
if
(
en
)
`ifndef
BUG
`ifndef
BUG
q
<=
d
;
q
<=
d
;
...
...
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