Entity: pinmux_wkup

Diagram

int Cycles clk_i rst_ni wkup_en_i filter_en_i wkup_mode_e wkup_mode_i [WkupCntWidth-1:0] wkup_cnt_th_i pin_value_i aon_wkup_pulse_o

Description

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

Generics

Generic name Type Value Description
Cycles int 4

Ports

Port name Direction Type Description
clk_i input
rst_ni input
wkup_en_i input
filter_en_i input
wkup_mode_i input wkup_mode_e
wkup_cnt_th_i input [WkupCntWidth-1:0]
pin_value_i input
aon_wkup_pulse_o output Wakeup request pulse signal

Signals

Name Type Description
filter_out logic ////////////////////////// Optional Signal Filter // ////////////////////////// This uses a lower value for filtering than GPIO since the always-on clock is slower. This can be disabled, in which case the signal is just combinationally bypassed.
filter_out_d logic ////////////////////////// Optional Signal Filter // ////////////////////////// This uses a lower value for filtering than GPIO since the always-on clock is slower. This can be disabled, in which case the signal is just combinationally bypassed.
filter_out_q logic ////////////////////////// Optional Signal Filter // ////////////////////////// This uses a lower value for filtering than GPIO since the always-on clock is slower. This can be disabled, in which case the signal is just combinationally bypassed.
rising logic //////////////////// Pattern Matching // ////////////////////
falling logic //////////////////// Pattern Matching // ////////////////////
cnt_en logic
cnt_eq_th logic
cnt_d logic [WkupCntWidth-1:0]
cnt_q logic [WkupCntWidth-1:0]

Processes

Type: always_comb

Type: always_ff

Instantiations

Description
Run this through a 2 stage synchronizer to
prevent metastability.