Software APIs
Data Fields
sc_otbn_app Struct Reference

Information about an embedded OTBN application image. More...

#include <sw/device/silicon_creator/lib/drivers/otbn.h>

Data Fields

const uint32_t * imem_start
 Start of OTBN instruction memory.
 
const uint32_t * imem_end
 The first word after OTBN instruction memory. More...
 
const uint32_t * dmem_data_start
 Start of initialized OTBN data. More...
 
const uint32_t * dmem_data_end
 The first word after initialized OTBN data. More...
 
const sc_otbn_addr_t dmem_data_start_addr
 Start of initialized data section in OTBN's DMEM. More...
 

Detailed Description

Information about an embedded OTBN application image.

All pointers reference data in the normal CPU address space. uint32_t values are addresses in the OTBN address space.

Use OTBN_DECLARE_APP_SYMBOLS() together with OTBN_APP_T_INIT() to initialize this structure.

Definition at line 85 of file otbn.h.

Field Documentation

◆ dmem_data_end

const uint32_t* sc_otbn_app::dmem_data_end

The first word after initialized OTBN data.

Should satisfy dmem_data_start <= dmem_data_end.

Definition at line 108 of file otbn.h.

◆ dmem_data_start

const uint32_t* sc_otbn_app::dmem_data_start

Start of initialized OTBN data.

Data in between dmem_data_start and dmem_data_end will be copied to OTBN at app load time.

Definition at line 102 of file otbn.h.

◆ dmem_data_start_addr

const sc_otbn_addr_t sc_otbn_app::dmem_data_start_addr

Start of initialized data section in OTBN's DMEM.

This pointer references OTBN's memory and is used to copy data at app load time.

Definition at line 115 of file otbn.h.

◆ imem_end

const uint32_t* sc_otbn_app::imem_end

The first word after OTBN instruction memory.

This address satifies imem_len = imem_end - imem_start.

Definition at line 95 of file otbn.h.

◆ imem_start

const uint32_t* sc_otbn_app::imem_start

Start of OTBN instruction memory.

Definition at line 89 of file otbn.h.