CM1K Hardware User’s Manual
13
Description
Addr
8-bit
Normal
mode
SR
mode
Data 16-bit/
Default
INDEXCOMP
Component index
Set the memory index to an input value which
can range between 0 and 255.
Note that this command does not reset the
distance register.
0x03
W
W
0x0000
DIST
Distance register.
This register is updated by the neuron.
Can range between 0 and 65535 (0xFFFF)
A distance 0 means that the vector matches
exactly the model of a firing neuron. The higher
the distance, the farther the vector from the
model.
A distance of 0xFFFF means that no neuron
recognizes the last input vector.
Must be read after writing CM_LCOMP and
before reading CM_CAT
0x03
R
R
0xFFFF
CAT
Category register
Bit 15 is read-only and reserved to indicate if the
neuron is degenerated or not
Bits [14:0] represent the category value assigned
to the pattern learned by the neuron. This value
can range between 0 and 32766 (0x7FFE)
Remark about Write CAT
-
Writing a category of 0 does not commit
a new neuron, but may force existing
committed neurons to reduce their
influence fields.
Remark about Read CAT
-
Reading a category of 0xFFFF means that
no neuron is firing and that the last
broadcasted vector is a novelty.
-
If category is greater than 32768, it
indicates that the neuron recognizes the
last broadcasted vector, but is
degenerated (bit15=1) so its response
might be considered with caution. The
value must be masked with 0x7FFF to
report the original value learned by the
neuron.
Must be read after the DIST register except if the
ID_ line is low and the NID register does not need
to be read after the CAT register.
0x04
RW
RW
0xFFFF