Package: prim_otp_pkg

Description

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

Signals

Name Type Description
prim_otp_pkg endpackage

Constants

Name Type Value Description
CmdWidth int 2
ErrWidth int 3

Types

Name Type Description
cmd_e enum logic [CmdWidth-1:0] {
Read = 2'b00,
Write = 2'b01,
Init = 2'b11 }
err_e enum logic [ErrWidth-1:0] {
NoError = 3'h0,
MacroError = 3'h1,
MacroEccCorrError = 3'h2,
MacroEccUncorrError = 3'h3,
MacroWriteBlankError = 3'h4 }