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
6dd772bb
Commit
6dd772bb
authored
Jan 02, 2019
by
Clifford Wolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some "output reg" fixes in some of the simple/* tests
Signed-off-by: Clifford Wolf <clifford@clifford.at>
parent
754821f8
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
10 deletions
+14
-10
simple/inout_port_demote/top.v
+8
-4
simple/tristate/top.v
+1
-1
simple/tristate_case/top.v
+1
-1
simple/tristate_const_0/top.v
+1
-1
simple/tristate_const_1/top.v
+1
-1
simple/tristate_const_data/top.v
+1
-1
simple/tristate_if/top.v
+1
-1
No files found.
simple/inout_port_demote/top.v
View file @
6dd772bb
...
...
@@ -3,20 +3,24 @@ module tristate (en, i, io, o);
input
i
;
inout
[
1
:
0
]
io
;
output
[
1
:
0
]
o
;
reg
[
1
:
0
]
io_buf
;
assign
io
=
io_buf
;
`ifndef
BUG
always
@
(
en
or
i
)
io
[
0
]
<=
(
en
)
?
i
:
1
'
bZ
;
io
_buf
[
0
]
<=
(
en
)
?
i
:
1
'
bZ
;
always
@
(
en
or
i
)
io
[
1
]
<=
(
i
)
?
en
:
1
'
bZ
;
io
_buf
[
1
]
<=
(
i
)
?
en
:
1
'
bZ
;
assign
o
=
(
en
)
?
io
:
2
'
bZZ
;
`else
always
@
(
en
or
i
)
io
[
0
]
<=
(
en
)
?
~
i
:
1
'
bZ
;
io
_buf
[
0
]
<=
(
en
)
?
~
i
:
1
'
bZ
;
always
@
(
en
or
i
)
io
[
1
]
<=
(
i
)
?
~
en
:
1
'
bZ
;
io
_buf
[
1
]
<=
(
i
)
?
~
en
:
1
'
bZ
;
assign
o
=
(
en
)
?
~
io
:
2
'
bZZ
;
`endif
...
...
simple/tristate/top.v
View file @
6dd772bb
module
tristate
(
en
,
i
,
o
)
;
input
en
;
input
i
;
output
o
;
output
reg
o
;
`ifndef
BUG
always
@
(
en
or
i
)
...
...
simple/tristate_case/top.v
View file @
6dd772bb
module
tristate
(
en
,
i
,
o
)
;
input
en
;
input
i
;
output
o
;
output
reg
o
;
always
@
(
en
or
i
)
begin
...
...
simple/tristate_const_0/top.v
View file @
6dd772bb
module
tristate
(
en
,
i
,
o
)
;
input
en
;
input
i
;
output
o
;
output
reg
o
;
always
@
(
en
or
i
)
`ifndef
BUG
...
...
simple/tristate_const_1/top.v
View file @
6dd772bb
module
tristate
(
en
,
i
,
o
)
;
input
en
;
input
i
;
output
o
;
output
reg
o
;
always
@
(
en
or
i
)
`ifndef
BUG
...
...
simple/tristate_const_data/top.v
View file @
6dd772bb
module
tristate
(
en
,
i
,
o
)
;
input
en
;
input
i
;
output
o
;
output
reg
o
;
always
@
(
en
or
i
)
o
<=
(
en
)
?
i
:
1
'
bZ
;
...
...
simple/tristate_if/top.v
View file @
6dd772bb
module
tribuf
(
en
,
i
,
o
)
;
input
en
;
input
i
;
output
o
;
output
reg
o
;
always
@*
begin
...
...
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