Skip to content

Commit

Permalink
[hardware] Replace stream regs with spill regs
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed Nov 12, 2024
1 parent bf2596f commit 8f43a2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions hardware/src/lane/valu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,11 @@ module valu import ara_pkg::*; import rvv_pkg::*; import cf_math_pkg::idx_width;

assign mask_operand_gnt = mask_operand_ready && result_queue_q[result_queue_read_pnt_q].mask && result_queue_valid_q[result_queue_read_pnt_q];

stream_register #(
spill_register #(
.T(elen_t)
) i_mask_operand_register (
.clk_i (clk_i ),
.rst_ni (rst_ni ),
.clr_i (1'b0 ),
.testmode_i(1'b0 ),
.data_o (mask_operand_o ),
.valid_o (mask_operand_valid_o ),
.ready_i (mask_operand_ready_i ),
Expand Down
4 changes: 1 addition & 3 deletions hardware/src/lane/vmfpu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,11 @@ module vmfpu import ara_pkg::*; import rvv_pkg::*; import fpnew_pkg::*;

assign mask_operand_gnt = mask_operand_ready && result_queue_q[result_queue_read_pnt_q].mask && result_queue_valid_q[result_queue_read_pnt_q];

stream_register #(
spill_register #(
.T(elen_t)
) i_mask_operand_register (
.clk_i (clk_i ),
.rst_ni (rst_ni ),
.clr_i (1'b0 ),
.testmode_i(1'b0 ),
.data_o (mask_operand_o ),
.valid_o (mask_operand_valid_o ),
.ready_i (mask_operand_ready_i ),
Expand Down
4 changes: 1 addition & 3 deletions hardware/src/sldu/sldu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,11 @@ module sldu import ara_pkg::*; import rvv_pkg::*; #(
logic [NrLanes-1:0] mask_ready_q;

for (genvar l = 0; l < NrLanes; l++) begin
stream_register #(
spill_register #(
.T(strb_t)
) i_mask_operand_register (
.clk_i (clk_i ),
.rst_ni (rst_ni ),
.clr_i (1'b0 ),
.testmode_i(1'b0 ),
.data_o (mask_q[l] ),
.valid_o (mask_valid_q[l] ),
.ready_i (mask_ready_d ),
Expand Down

0 comments on commit 8f43a2e

Please sign in to comment.