Loading files
This 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_shift_register_gated instead.
module shift_reg_gated #(
parameter int unsigned Depth = 32'd8,
parameter type dtype = logic
) (
input logic clk_i,
input logic rst_ni,
input logic valid_i,
input dtype data_i,
output logic valid_o,
output dtype data_o
);
// synthesis translate_off
`ifndef COMMON_CELLS_NO_DEPRECATED_WARNINGS
initial $warning("Module '%m' is deprecated. Use 'cc_shift_register_gated' instead.");
`endif
// synthesis translate_on
cc_shift_register_gated #(
.Depth ( Depth ),
.data_t ( dtype )
) i_cc_shift_register_gated (
.clk_i ( clk_i ),
.rst_ni ( rst_ni ),
.clr_i ( 1'b0 ),
.valid_i ( valid_i ),
.data_i ( data_i ),
.valid_o ( valid_o ),
.data_o ( data_o )
);
endmodule
e73baaec2This file is pinned to the selected release. Download the original to open it in your design tool.