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
f0a4d2e142
commit
1322499c3f
2 changed files with 9 additions and 5 deletions
|
@ -51,9 +51,9 @@ module VX_issue import VX_gpu_pkg::*; #(
|
|||
|
||||
`SCOPE_IO_SWITCH (`ISSUE_WIDTH)
|
||||
|
||||
for (genvar issue_id = 0; issue_id < `ISSUE_WIDTH; ++issue_id) begin
|
||||
for (genvar issue_id = 0; issue_id < `ISSUE_WIDTH; ++issue_id) begin : issue_slices
|
||||
VX_decode_if #(
|
||||
.WID_WiDTH(ISSUE_WIS_W)
|
||||
.NUM_WARPS (PER_ISSUE_WARPS)
|
||||
) per_issue_decode_if();
|
||||
|
||||
VX_dispatch_if per_issue_dispatch_if[`NUM_EX_UNITS]();
|
||||
|
@ -72,6 +72,9 @@ module VX_issue import VX_gpu_pkg::*; #(
|
|||
assign per_issue_decode_if.data.rs2 = decode_if.data.rs2;
|
||||
assign per_issue_decode_if.data.rs3 = decode_if.data.rs3;
|
||||
assign decode_ready_in[issue_id] = per_issue_decode_if.ready;
|
||||
`ifndef L1_ENABLE
|
||||
assign decode_if.ibuf_pop[issue_id * PER_ISSUE_WARPS +: PER_ISSUE_WARPS] = per_issue_decode_if.ibuf_pop;
|
||||
`endif
|
||||
|
||||
`RESET_RELAY (slice_reset, reset);
|
||||
|
||||
|
|
|
@ -14,12 +14,13 @@
|
|||
`include "VX_define.vh"
|
||||
|
||||
interface VX_decode_if import VX_gpu_pkg::*; #(
|
||||
parameter WID_WiDTH = `NW_WIDTH
|
||||
parameter NUM_WARPS = `NUM_WARPS,
|
||||
parameter NW_WIDTH = `LOG2UP(NUM_WARPS)
|
||||
);
|
||||
|
||||
typedef struct packed {
|
||||
logic [`UUID_WIDTH-1:0] uuid;
|
||||
logic [WID_WiDTH-1:0] wid;
|
||||
logic [NW_WIDTH-1:0] wid;
|
||||
logic [`NUM_THREADS-1:0] tmask;
|
||||
logic [`PC_BITS-1:0] PC;
|
||||
logic [`EX_BITS-1:0] ex_type;
|
||||
|
@ -36,7 +37,7 @@ interface VX_decode_if import VX_gpu_pkg::*; #(
|
|||
data_t data;
|
||||
logic ready;
|
||||
`ifndef L1_ENABLE
|
||||
wire [`NUM_WARPS-1:0] ibuf_pop;
|
||||
wire [NUM_WARPS-1:0] ibuf_pop;
|
||||
`endif
|
||||
|
||||
modport master (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue