From 7522cba64336f130a538b6f869618960210bcd98 Mon Sep 17 00:00:00 2001 From: Moritz Scherer Date: Mon, 18 Nov 2024 11:08:17 +0100 Subject: [PATCH] Add verilator split_var comments --- src/id_queue.sv | 6 +++--- src/rr_arb_tree.sv | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/id_queue.sv b/src/id_queue.sv index 9bf0c204..e879c1f6 100644 --- a/src/id_queue.sv +++ b/src/id_queue.sv @@ -115,13 +115,13 @@ module id_queue #( no_out_id_match; logic [HtCapacity-1:0] head_tail_free, - idx_matches_in_id, + idx_matches_in_id /*verilator split_var*/, idx_matches_out_id; logic [CAPACITY-1:0] exists_match, linked_data_free; - id_t match_in_id, match_out_id; + id_t match_in_id /*verilator split_var*/, match_out_id /*verilator split_var*/; ht_idx_t head_tail_free_idx, match_in_idx, @@ -358,7 +358,7 @@ module id_queue #( // Exists Lookup for (genvar i = 0; i < CAPACITY; i++) begin: gen_lookup - data_t exists_match_bits; + data_t exists_match_bits /*verilator split_var*/; for (genvar j = 0; j < $bits(data_t); j++) begin: gen_mask always_comb begin if (linked_data_q[i].free) begin diff --git a/src/rr_arb_tree.sv b/src/rr_arb_tree.sv index 1aa566d4..0b9efe35 100644 --- a/src/rr_arb_tree.sv +++ b/src/rr_arb_tree.sv @@ -131,10 +131,10 @@ module rr_arb_tree #( localparam int unsigned NumLevels = unsigned'($clog2(NumIn)); /* verilator lint_off UNOPTFLAT */ - idx_t [2**NumLevels-2:0] index_nodes; // used to propagate the indices - DataType [2**NumLevels-2:0] data_nodes; // used to propagate the data - logic [2**NumLevels-2:0] gnt_nodes; // used to propagate the grant to masters - logic [2**NumLevels-2:0] req_nodes; // used to propagate the requests to slave + idx_t [2**NumLevels-2:0] index_nodes /*verilator split_var*/; // used to propagate the indices + DataType [2**NumLevels-2:0] data_nodes /*verilator split_var*/; // used to propagate the data + logic [2**NumLevels-2:0] gnt_nodes /*verilator split_var*/; // used to propagate the grant to masters + logic [2**NumLevels-2:0] req_nodes /*verilator split_var*/; // used to propagate the requests to slave /* lint_off */ idx_t rr_q; logic [NumIn-1:0] req_d;