Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ali/umi fifo flex merge #116

Merged
merged 16 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions utils/rtl/umi2tl_np.v
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ module umi2tl_np #(
);

// Calculate byte shift needed
/* verilator lint_off WIDTHTRUNC */
azaidy marked this conversation as resolved.
Show resolved Hide resolved
wire [$clog2(ODW/8):0] req_bytes = (1 << fifoflex_out_req_cmd_size)*(fifoflex_out_req_cmd_len + 1);
/* verilator lint_on WIDTHTRUNC */

reg [2:0] masked_shift;
reg [2:0] masked_tl_a_size;
Expand Down
2 changes: 2 additions & 0 deletions utils/rtl/umi_packet_merge_greedy.v
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ module umi_packet_merge_greedy #(
umi_in_opcode_check &
umi_in_field_match;

/* verilator lint_off WIDTHTRUNC */
azaidy marked this conversation as resolved.
Show resolved Hide resolved
assign umi_in_bytes = (1 << umi_in_cmd_size)*(umi_in_cmd_len + 1);
/* verilator lint_on WIDTHTRUNC */

always @(posedge clk or negedge nreset) begin
if (~nreset)
Expand Down
4 changes: 2 additions & 2 deletions utils/testbench/config.vlt
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ lint_off -rule BLKSEQ -file "*switchboard/switchboard/verilog/*"
lint_off -rule GENUNNAMED
lint_off -rule TIMESCALEMOD
// To be fixed:
lint_off -rule SYNCASYNCNET
lint_off -rule WIDTHTRUNC
//lint_off -rule SYNCASYNCNET
//lint_off -rule WIDTHTRUNC
2 changes: 1 addition & 1 deletion utils/testbench/testbench_umi2tl_np.v
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module testbench #(

// Reset initialization
always @(posedge clk) begin
nreset_vec <= {nreset_vec[15:0], 1'b1};
nreset_vec <= {nreset_vec[14:0], 1'b1};
end

assign nreset = nreset_vec[14];
Expand Down
2 changes: 1 addition & 1 deletion utils/testbench/testbench_umi_packet_merge_greedy.v
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module testbench #(
wire [ODW-1:0] umi_dut2check_data;
reg umi_dut2check_ready;

always @(posedge clk) begin
always @(posedge clk or negedge nreset) begin
if(~nreset)
umi_dut2check_ready <= 1'b0;
else
Expand Down