tensor: Fix lint errors
This commit is contained in:
@@ -151,7 +151,8 @@ module VX_reduce_unit #(
|
|||||||
wire stored_sop;
|
wire stored_sop;
|
||||||
wire stored_eop;
|
wire stored_eop;
|
||||||
|
|
||||||
logic [PID_BITS:0] size, size_n;
|
logic [PID_BITS:0] size;
|
||||||
|
logic [PID_BITS:0] size_n;
|
||||||
|
|
||||||
// 1. idle state - wait for execute_if to be valid
|
// 1. idle state - wait for execute_if to be valid
|
||||||
// 2. accumulate - continue accumulating until eop, store packet id + thread mask for broadcast phase
|
// 2. accumulate - continue accumulating until eop, store packet id + thread mask for broadcast phase
|
||||||
|
|||||||
@@ -83,10 +83,10 @@ module VX_uop_sequencer import VX_gpu_pkg::*; (
|
|||||||
wire uop_start = ~use_uop_1d && use_uop;
|
wire uop_start = ~use_uop_1d && use_uop;
|
||||||
wire uop_finish = use_uop && uop_sequencer_if.valid && uop_sequencer_if.ready;
|
wire uop_finish = use_uop && uop_sequencer_if.valid && uop_sequencer_if.ready;
|
||||||
|
|
||||||
|
// merging the 2 always blocks leads to spurious UNOPTFLAT verilator lint,
|
||||||
// merging the 2 always blocks leads to spurious UNOPTFLAT verilator lint, but conceptually they should be linked
|
// but conceptually they should be linked
|
||||||
always @(*) begin
|
always @(*) begin
|
||||||
use_uop = uop_sequencer_if.valid && uop_sequencer_if.data.ex_type == `EX_TENSOR;
|
use_uop = uop_sequencer_if.valid && uop_sequencer_if.data.ex_type == `EX_BITS'(`EX_TENSOR);
|
||||||
|
|
||||||
if (uop_start) begin
|
if (uop_start) begin
|
||||||
// 1st cycle of microcoded operation, use op_type to determine entry point into microcode table
|
// 1st cycle of microcoded operation, use op_type to determine entry point into microcode table
|
||||||
|
|||||||
Reference in New Issue
Block a user