Entity: rstmgr_por

Diagram

int FilterStages int StretchCount clk_i rst_ni scan_rst_ni scanmode_i rst_no

Description

Copyright lowRISC contributors. Licensed under the Apache License, Version 2.0, see LICENSE for details. SPDX-License-Identifier: Apache-2.0

This module stretches the POR

Generics

Generic name Type Value Description
FilterStages int 3
StretchCount int 32

Ports

Port name Direction Type Description
clk_i input
rst_ni input
scan_rst_ni input
scanmode_i input
rst_no output

Signals

Name Type Description
rst_root_n_pre_mux logic
rst_root_n logic
rst_filter_n logic [FilterStages-1:0]
rst_stable logic
rst_clean_n logic
cnt logic [CtrWidth-1:0]
cnt_en logic
rst_nd logic stretch the POR
rst_nq logic stretch the POR

Constants

Name Type Value Description
CtrWidth int $clog2(StretchCount+1)

Processes

Type: always_ff

Description
filter the POR

Type: always_ff

Instantiations

Description
sync the POR

Description
The stable is a vote of all filter stages.
Only when all the stages agree is the reset considered stable and count allowed.