Entity: keymgr_cnt

Diagram

int Width bit OutSelDnCnt keymgr_cnt_style_e CntStyle clk_i rst_ni clr_i set_i [Width-1:0] set_cnt_i en_i [Width-1:0] cnt_o err_o

Description

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

Key manager interface to kmac

Generics

Generic name Type Value Description
Width int 2
OutSelDnCnt bit 1 0 selects up count
CntStyle keymgr_cnt_style_e CrossCnt

Ports

Port name Direction Type Description
clk_i input
rst_ni input
clr_i input
set_i input
set_cnt_i input [Width-1:0]
en_i input
cnt_o output [Width-1:0]
err_o output

Signals

Name Type Description
cmp_valid cmp_valid_e
up_cnt_d logic [CntCopies-1:0][Width-1:0]
up_cnt_d_buf logic [CntCopies-1:0][Width-1:0]
up_cnt_q logic [CntCopies-1:0][Width-1:0]
max_val logic [Width-1:0]
err logic

Constants

Name Type Value Description
CntCopies int undefined

Types

Name Type Description
cmp_valid_e enum logic [1:0] {
CmpInvalid = 2'b01,
CmpValid = 2'b10 }

Processes

Type: always_ff