Skip to content

Commit cc4c0d5

Browse files
authored
Merge pull request #73 from linvogel/master
Fixed a possible bug regarding RDMA write requests originating in user logic
2 parents 8a6b679 + f886a43 commit cc4c0d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hw/hdl/user/mux_init/user_req_mux.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ always_comb begin
122122
user_remote_rd_int.data.req_2 = 0;
123123

124124
user_remote_wr_int.data.req_1 = 0;
125-
user_remote_wr_int.data.req_2 = user_sq_rd_int.data;
125+
user_remote_wr_int.data.req_2 = user_sq_wr_int.data;
126126
end
127127

128128
meta_reg #(.DATA_BITS($bits(req_t))) inst_reg_local_rd (.aclk(aclk), .aresetn(aresetn), .s_meta(user_local_rd_int), .m_meta(user_local_rd));
@@ -160,4 +160,4 @@ meta_reg #(.DATA_BITS($bits(req_t))) inst_reg_local_wr (.aclk(aclk), .aresetn(a
160160

161161
`endif
162162

163-
endmodule
163+
endmodule

scripts/wr_hdl/template_gen/lynx_pkg_tmplt.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ package lynxTypes;
394394
typedef struct packed {
395395
// Opcode
396396
logic [OPCODE_BITS-1:0] opcode; // One of the values of fpga::CoyoteOper
397-
logic [STRM_BITS-1:0] strm; // One of STRM_CARD, STRM_HOST, STRM_TCP, or STRM_RDMA
398-
logic mode;
397+
logic [STRM_BITS-1:0] strm; // One of STRM_CARD, STRM_HOST, STRM_TCP, or STRM_RDMA (this determines the where this request lands)
398+
logic mode; // In the STRM_RDMA case, controls whether to skip the request splitter in the dreq_rdma_parser_wr module
399399
logic rdma;
400400
logic remote;
401401

0 commit comments

Comments
 (0)