Entity: otbn_tracer

Diagram

string InsnExecutePrefix string InsnStallPrefix string RegReadPrefix string RegWritePrefix string MemWritePrefix string MemReadPrefix clk_i rst_ni otbn_trace_if otbn_trace

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
InsnExecutePrefix string "E" Prefixes used in trace lines. Formats are documented in hw/ip/otbn/dv/tracer/README.md
InsnStallPrefix string "S"
RegReadPrefix string "<"
RegWritePrefix string ">"
MemWritePrefix string "W"
MemReadPrefix string "R"

Ports

Port name Direction Type Description
clk_i input
rst_ni input
otbn_trace input otbn_trace_if

Signals

Name Type Description
trace_output_buffer string
cycle_count logic [31:0]
trace string
int string
cycle_count unsigned

Functions

Description
Given a WLEN size word output a hex string with the data split into 32-bit chunks separated
with '_'. WLEN must be a multiple of 32.

Description
Produce trace output string for dmem writes. For a 256-bit write, the address and full data is
output. For 32-bit writes (determined by looking at the mask) only the relevant 32-bit chunk is
output along with the address modified so it refers to that chunk.

Description
Determine name for an ISPR

Description
Format flag information into a string

Description
Called by other trace functions to append their trace lines to the output buffer

Processes

Type: always