Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
e73baaec2This file is pinned to the selected release. Download the original to open it in your design tool.
// Copyright 2026 ETH Zurich and University of Bologna.
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
// Deprecated: use cc_id_queue instead.
module id_queue #(
parameter int ID_WIDTH = 0,
parameter int CAPACITY = 0,
parameter bit FULL_BW = 0,
parameter bit CUT_OUP_POP_INP_GNT = 0,
parameter int NUM_CMP_PORTS = 1,
parameter type data_t = logic [31:0],
localparam type id_t = logic [ID_WIDTH-1:0]
) (
input logic clk_i,
input logic rst_ni,
input id_t inp_id_i,
input data_t inp_data_i,
input logic inp_req_i,
output logic inp_gnt_o,
input data_t [NUM_CMP_PORTS-1:0] exists_data_i,
input data_t [NUM_CMP_PORTS-1:0] exists_mask_i,
input logic [NUM_CMP_PORTS-1:0] exists_req_i,
output logic [NUM_CMP_PORTS-1:0] exists_o,
output logic [NUM_CMP_PORTS-1:0] exists_gnt_o,
input id_t oup_id_i,
input logic oup_pop_i,
input logic oup_req_i,
output data_t oup_data_o,
output logic oup_data_valid_o,
output logic oup_gnt_o,
output logic full_o,
output logic empty_o
);
// synthesis translate_off
`ifndef COMMON_CELLS_NO_DEPRECATED_WARNINGS
initial $warning("Module '%m' is deprecated. Use 'cc_id_queue' instead.");
`endif
// synthesis translate_on
cc_id_queue #(
.IdWidth ( ID_WIDTH ),
.Capacity ( CAPACITY ),
.FullBw ( FULL_BW ),
.CutOupPopInpGnt ( CUT_OUP_POP_INP_GNT ),
.NumCmpPorts ( NUM_CMP_PORTS ),
.data_t ( data_t )
) i_cc_id_queue (
.clk_i ( clk_i ),
.rst_ni ( rst_ni ),
.clr_i ( 1'b0 ),
.inp_id_i ( inp_id_i ),
.inp_data_i ( inp_data_i ),
.inp_req_i ( inp_req_i ),
.inp_gnt_o ( inp_gnt_o ),
.exists_data_i ( exists_data_i ),
.exists_mask_i ( exists_mask_i ),
.exists_req_i ( exists_req_i ),
.exists_o ( exists_o ),
.exists_gnt_o ( exists_gnt_o ),
.oup_id_i ( oup_id_i ),
.oup_pop_i ( oup_pop_i ),
.oup_req_i ( oup_req_i ),
.oup_data_o ( oup_data_o ),
.oup_data_valid_o( oup_data_valid_o),
.oup_gnt_o ( oup_gnt_o ),
.full_o ( full_o ),
.empty_o ( empty_o )
);
endmodule