forked from chipsalliance/Surelog
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request chipsalliance#3766 from alainmarcel/alainmarcel-pa…
…tch-1 hier_path clone bug
- Loading branch information
Showing
6 changed files
with
1,277 additions
and
3 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
-parse -d uhdm -d coveruhdm -elabuhdm -d ast dut.sv -nobuiltin |
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,36 @@ | ||
module top; | ||
generate | ||
if (1) begin : i | ||
function automatic integer f; | ||
input unused; | ||
f = 1; | ||
endfunction | ||
if (1) begin : blk | ||
function automatic integer f; | ||
input unused; | ||
f = 2; | ||
endfunction | ||
end | ||
end | ||
function automatic integer f3; | ||
input unused; | ||
f3 = 3; | ||
endfunction | ||
if (1) begin : blk | ||
function automatic integer f; | ||
input unused; | ||
f = 4; | ||
endfunction | ||
end | ||
endgenerate | ||
initial begin | ||
$display(f(0)); | ||
$display(blk.f(0)); | ||
$display(i.f(0)); | ||
$display(i.blk.f(0)); | ||
$display(top.f3(0)); | ||
$display(top.blk.f(0)); | ||
$display(top.i.f(0)); | ||
$display(top.i.blk.f(0)); | ||
end | ||
endmodule |
Submodule UHDM
updated
4 files
+5 −4 | CMakeLists.txt | |
+12 −0 | templates/clone_tree.cpp | |
+1 −1 | third_party/capnproto | |
+12 −0 | util/uhdm-dump.cpp |
Submodule googletest
updated
7 files
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