mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
minor update
This commit is contained in:
parent
33406d2e83
commit
489738751f
2 changed files with 5 additions and 6 deletions
|
@ -410,14 +410,14 @@ module VX_mem_scheduler #(
|
|||
|
||||
// Handle memory responses ////////////////////////////////////////////////
|
||||
|
||||
// Select memory response
|
||||
VX_mem_rsp_sel #(
|
||||
// Merge memory responses
|
||||
VX_stream_merge #(
|
||||
.NUM_REQS (MEM_CHANNELS),
|
||||
.DATA_WIDTH (LINE_WIDTH),
|
||||
.TAG_WIDTH (MEM_TAG_WIDTH),
|
||||
.TAG_SEL_BITS (MEM_TAG_WIDTH - UUID_WIDTH),
|
||||
.OUT_BUF (2)
|
||||
) mem_rsp_sel (
|
||||
) rsp_merge (
|
||||
.clk (clk),
|
||||
.reset (reset),
|
||||
.rsp_valid_in (mem_rsp_valid),
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
`include "VX_platform.vh"
|
||||
|
||||
`TRACING_OFF
|
||||
module VX_mem_rsp_sel #(
|
||||
module VX_stream_merge #(
|
||||
parameter NUM_REQS = 1,
|
||||
parameter DATA_WIDTH = 1,
|
||||
parameter TAG_WIDTH = 1,
|
||||
|
@ -70,8 +70,7 @@ module VX_mem_rsp_sel #(
|
|||
|
||||
always @(*) begin
|
||||
rsp_valid_sel = '0;
|
||||
rsp_ready_sel = '0;
|
||||
|
||||
rsp_ready_sel = '0;
|
||||
for (integer i = 0; i < NUM_REQS; ++i) begin
|
||||
if (rsp_tag_in[i][TAG_SEL_BITS-1:0] == rsp_tag_sel[TAG_SEL_BITS-1:0]) begin
|
||||
rsp_valid_sel[i] = rsp_valid_in[i];
|
Loading…
Add table
Add a link
Reference in a new issue