CM1K Hardware User’s Manual
12
Description
Addr
8-bit
Normal
mode
SR
mode
Data 16-bit/
Default
NCR
Neuron Context Register
In normal mode
Bit[15:8]=0x00
Bit[7:0] = neuron identifier bit [23:16]
In SR mode:
Bit[15:8] = neuron identifier bit [23:16]
Bit[7]= neuron Norm , 0 for L1, 1 for Lsup
Bit [6:0]= Context value between 0 and 127
0x00
RW
0x0001
COMP
Component
Bit[15:8] = unused
Bit[7:0]= byte component of the vector to learn
or recognize. The component index can range
between 0 to 255 and is incremented
automatically after each Read or Write. It is reset
after a Write LCOMP (see next register)
If the neuron is committed and its NCR=GCR:
Update the distance register using the new
distance between the component value and the
neuron’s memory value with same index (the
norm is defined by bit 7 of the GCR). If the
component index is zero, the distance register is
reset prior to being updated.
If the neuron is the Ready-To-Learn:
Write the component value to the neuron’s
memory value with same index.
0x01
W
RW
0x0000
LCOMP
Last Component
Bit[15:8] = unused
Bit[7:0]= last byte component of the vector to
learn or recognize. The component index can
range between 0 to 255 and is reset after
execution of this command.
If the neuron is committed and its NCR=GCR:
At the last cycle of this operation, the ID_ and
UNC_ lines and NSR register are updated to
report the recognition status of the vector.
Furthermore, if the status is identified (ID_ line is
low), the “identified category” is available on the
DATA bus.
0x02
W
0x0000