SPRUJ17H March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
PKA module includes a program RAM for storage of the Sequencer firmware. The PKA module provides control logic to access that RAM, while the Sequencer is held in a software controlled reset state. The PKA RAM and program RAM occupy the same locations in the host address space - the control bit that controls the Sequencer reset also selects which of the RAMs is accessible.
The implemented program RAM size is 12KB, implemented as 4096 words × 24 bits, that is totally 12288 bytes.
The PKA RAM size is 4KB, implemented as 256 words × 64 bits (×2), that is totally 4096 bytes (two physical memories of 2048 bytes). The PKA vector RAM starts at offset of 0x4000 from the main PKA base address shown in PKA_MEMORY_MAP.
The PKA RAM that is attached to the PKA module consists of two physical two-port memories, that are connected such that these can be considered as a single PKA RAM. The vectors (big numbers) that are the input and output of the PKA operations are stored in the PKA RAM. Each vector consists of a sequence of (32-bit) words, stored 'little-endian' in a contiguous block of memory with the least significant word at the lowest address of that memory block and bit [0] of the vector in bit [0] of that word.
All input and output vectors must start at an even 32-bit word address, that is, be aligned to an 8-byte boundary in PKA RAM.