-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
svlog: Fix ports with expl dir carrying over data
Fix an issue in the `port_list` module where a port with an explicit direction would still carry over the previous port's type and sign. This should instead reset everything to the default. Fixes #224.
- Loading branch information
1 parent
0d98ec2
commit eb4d44c
Showing
3 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// RUN: moore %s -e A | ||
|
||
module A; | ||
wire [31:0] x; | ||
wire y; | ||
B system_bus_xbar (.x(x), .y(y)); | ||
endmodule | ||
|
||
module B (input [31:0] x, output y); | ||
endmodule |