Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv2v
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
sv2v
Commits
1b273432
Commit
1b273432
authored
Aug 04, 2024
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bare input signed declarations for inlined modules
parent
2cc1f6e2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
2 deletions
+20
-2
CHANGELOG.md
+2
-0
src/Convert/Interface.hs
+1
-2
test/core/interface_input_type.sv
+14
-0
test/core/interface_input_type.v
+3
-0
No files found.
CHANGELOG.md
View file @
1b273432
...
...
@@ -11,6 +11,8 @@
*
Fixed
`--write path/to/dir/`
with directives like
`` `default_nettype ``
*
Fixed
`logic`
incorrectly converted to
`wire`
even when provided to a task or
function output port
*
Fixed
`input signed`
ports of interface-using modules producing invalid
declarations after inlining
*
Fixed
`` `resetall ``
not resetting the
`` `default_nettype ``
### Other Enhancements
...
...
src/Convert/Interface.hs
View file @
1b273432
...
...
@@ -633,8 +633,7 @@ inlineInstance global ranges modportBindings items partName
removeDeclDir
(
Variable
_
t
x
a
e
)
=
Variable
Local
t'
x
a
e
where
t'
=
case
t
of
Implicit
Unspecified
rs
->
IntegerVector
TLogic
Unspecified
rs
Implicit
sg
rs
->
IntegerVector
TLogic
sg
rs
_
->
t
removeDeclDir
decl
@
Net
{}
=
traverseNetAsVar
removeDeclDir
decl
...
...
test/core/interface_input_type.sv
0 → 100644
View file @
1b273432
module
top
;
intf
i
()
;
mod
m
(
i
,
1'b1
)
;
initial
#
1
$
display
(
"%b"
,
i
.
y
)
;
endmodule
module
mod
(
input
intf
i
,
input
signed
x
)
;
initial
i
.
y
=
x
;
endmodule
interface
intf
;
logic
[
1
:
0
]
y
;
endinterface
test/core/interface_input_type.v
0 → 100644
View file @
1b273432
module
top
;
initial
#
1
$
display
(
"%b"
,
2'b11
)
;
endmodule
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