Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
occamy+cluster: Further fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsc96 committed Oct 22, 2021
1 parent ba78ff7 commit 3fe2501
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hw/ip/snitch_cluster/src/snitch_cluster.sv
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ module snitch_cluster
.ByteWidth (8),
.NumPorts (1),
.Latency (1),
.impl_in_t (sram_cfg_t),
.impl_in_t (sram_cfg_t)
) i_data_mem (
.clk_i,
.rst_ni,
Expand Down
2 changes: 1 addition & 1 deletion hw/ip/snitch_cluster/src/snitch_cluster_wrapper.sv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ module ${cfg['name']}_wrapper (
input logic clk_d2_bypass_i,
% endif
% if cfg['sram_cfg_expose']:
input sram_cfgs_t sram_cfgs_i,
input ${cfg['pkg_name']}::sram_cfgs_t sram_cfgs_i,
%endif
input ${cfg['pkg_name']}::narrow_in_req_t narrow_in_req_i,
output ${cfg['pkg_name']}::narrow_in_resp_t narrow_in_resp_o,
Expand Down
2 changes: 1 addition & 1 deletion hw/system/occamy/src/occamy_cluster_wrapper.sv
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ module occamy_cluster_wrapper (
input logic [9:0] hart_base_id_i,
input logic [47:0] cluster_base_addr_i,
input logic clk_d2_bypass_i,
input sram_cfgs_t sram_cfgs_i,
input occamy_cluster_pkg::sram_cfgs_t sram_cfgs_i,
input occamy_cluster_pkg::narrow_in_req_t narrow_in_req_i,
output occamy_cluster_pkg::narrow_in_resp_t narrow_in_resp_o,
output occamy_cluster_pkg::narrow_out_req_t narrow_out_req_o,
Expand Down
4 changes: 2 additions & 2 deletions hw/system/occamy/src/occamy_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ package occamy_pkg;

typedef struct packed {
sram_cfg_t spm;
sram_cfg_cva6 cva6;
sram_cfg_quadrant quadrant;
sram_cfg_cva6_t cva6;
sram_cfg_quadrant_t quadrant;
} sram_cfgs_t;

localparam int unsigned SramCfgWidth = $bits(sram_cfg_t);
Expand Down
4 changes: 2 additions & 2 deletions hw/system/occamy/src/occamy_pkg.sv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ package occamy_pkg;

typedef struct packed {
sram_cfg_t spm;
sram_cfg_cva6 cva6;
sram_cfg_quadrant quadrant;
sram_cfg_cva6_t cva6;
sram_cfg_quadrant_t quadrant;
} sram_cfgs_t;

localparam int unsigned SramCfgWidth = $bits(sram_cfg_t);
Expand Down

0 comments on commit 3fe2501

Please sign in to comment.