CM1K Hardware User’s Manual
11
3.3
The control registers
3.3.1
Operation modes: Normal versus Save and Restore
The Save-and-Restore (SR) mode is used to save and restore the contents of the neurons in the least amount of
time. This feature is essential to transfer knowledge bases between hardware platforms, but also make backup
prior to training on additional examples.
Under the SR mode, the neurons become dummy memories limited to the execution of read register and write
register functions taking one system cycle each. The automatic model generator and search and sort algorithm are
disabled. The SR mode is set in bit 4 of the NSR register.
3.3.2
Register descriptions
The following table describes the 15 registers controlling the entire behavior of the neurons. For a detailed
description of the neuron’s behavior and their interactions, please refer to the manual CogniMem Technology
Reference Guide.
Description
Addr
8-bit
Normal
mode
SR
mode
Data 16-bit/
Default
NSR
Network Status Register
Bit[1:0], reserved
Bit[2], UNC (Uncertain, read-only)
Bit[3], ID status (Identified, read-only)
Bit[4], SR status (default=normal)
Bit[5], KNN classifier (default=RBF)
The ID and UNC bits are updated internally after
each Write Last Comp command. ID is high if all
firing neurons report the same category. UNC is
high if several neurons fire but disagree with the
category.
KNN is a recognition mode and should not be
active while learning (since any pattern would be
recognized whatever its distance from a neuron,
the learning would create a single neuron)
*see Erratum and work around at the end of this
manual.
0x0D
RW
W
0x0000
GCR
Global Control Register
Bit [6:0]= Global Context Register
Bit[7]= Norm , 0 for L1, 1 for Lsup
0x0B
RW
0x0001
MINIF
Minimum Influence Field
0x06
RW
RW
0x0002
MAXIF
Maximum Influence Field
0x07
RW
0x4000