Skip to content

Commit

Permalink
Merge pull request chipsalliance#3766 from alainmarcel/alainmarcel-pa…
Browse files Browse the repository at this point in the history
…tch-1

hier_path clone bug
  • Loading branch information
alaindargelas authored Jul 21, 2023
2 parents c22c4a7 + 97c6ac1 commit 47cc087
Show file tree
Hide file tree
Showing 6 changed files with 1,277 additions and 3 deletions.
1,237 changes: 1,237 additions & 0 deletions tests/HierPathTfArg/HierPathTfArg.log

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/HierPathTfArg/HierPathTfArg.sl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-parse -d uhdm -d coveruhdm -elabuhdm -d ast dut.sv -nobuiltin
36 changes: 36 additions & 0 deletions tests/HierPathTfArg/dut.sv
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
2 changes: 1 addition & 1 deletion third_party/UHDM
2 changes: 1 addition & 1 deletion third_party/tests/CoresSweRVMP/CoresSweRVMP.log
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
CMake that the project does not need compatibility with older versions.


-- Configuring done (0.0s)
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: ${SURELOG_DIR}/build/regression/CoresSweRVMP/slpp_all/mp_preprocess
[ 6%] Generating 10_lsu_bus_intf.sv
Expand Down

0 comments on commit 47cc087

Please sign in to comment.