Skip to content

Commit

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

hier_path for array_var
  • Loading branch information
alaindargelas authored Jul 22, 2023
2 parents 47cc087 + 827a008 commit 3b29fad
Show file tree
Hide file tree
Showing 7 changed files with 560 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
# Version changes whenever some new features accumulated, or the
# grammar or the cache format changes to make sure caches
# are invalidated.
project(SURELOG VERSION 1.69)
project(SURELOG VERSION 1.70)

# Detect build type, fallback to release and throw a warning if use didn't
# specify any
Expand Down
536 changes: 536 additions & 0 deletions tests/HierPathVarArray/HierPathVarArray.log

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/HierPathVarArray/HierPathVarArray.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
14 changes: 14 additions & 0 deletions tests/HierPathVarArray/dut.sv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

package pkg;
typedef struct packed {
logic x;
} a;
typedef a b[5:0];
endpackage

module top(output o);
pkg::b c;
assign c[1].x = 1;
assign o = c[1].x;
endmodule

2 changes: 1 addition & 1 deletion third_party/UHDM
2 changes: 1 addition & 1 deletion third_party/googletest
12 changes: 6 additions & 6 deletions third_party/tests/CoresSweRVMP/CoresSweRVMP.log
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,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.1s)
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: ${SURELOG_DIR}/build/regression/CoresSweRVMP/slpp_all/mp_parser
[100%] Generating preprocessing
Expand Down Expand Up @@ -134,18 +134,18 @@ CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
-- 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
[ 12%] Generating 11_ifu_bp_ctl.sv
[ 6%] Generating 11_ifu_bp_ctl.sv
[ 12%] Generating 10_lsu_bus_intf.sv
[ 18%] Generating 12_beh_lib.sv
[ 25%] Generating 13_ifu_mem_ctl.sv
[ 31%] Generating 14_mem_lib.sv
[ 37%] Generating 15_exu.sv
[ 43%] Generating 16_dec_decode_ctl.sv
[ 43%] Generating 15_exu.sv
[ 50%] Generating 1_lsu_stbuf.sv
[ 56%] Generating 2_ahb_to_axi4.sv
[ 62%] Generating 3_rvjtag_tap.sv
[ 68%] Generating 4_dec_tlu_ctl.sv
[ 75%] Generating 5_lsu_bus_buffer.sv
[ 68%] Generating 5_lsu_bus_buffer.sv
[ 75%] Generating 4_dec_tlu_ctl.sv
[ 81%] Generating 6_dbg.sv
[ 87%] Generating 7_axi4_to_ahb.sv
[ 93%] Generating 9_tb_top.sv
Expand Down

0 comments on commit 3b29fad

Please sign in to comment.