CM1K Hardware User’s Manual
30
4.1
Control registers
The registers of the recognition logic are enabled if the pin RECO_EN is high, and whether the VI_EN pin is high or
low. If RECO_EN is low, any attempt to read a register of the recognition logic returns 0xFFFF.
4.1.1
Recognition Status Register
Description
Addr
8-bit
Access
Data 16-bit
Default
RSR
(1)
Recognition Status Register (see below)
Bit[2-5] are updated continuously on the positive edge of
the clock.
Bit{15::6] are unused
*see Erratum and work around at the end of this manual.
0x1C
R/W
0x0000
Bit
ABBREV
Description
R/W
default
0
RECO_ACTIVE
Enable or disable the continuous recognition of the signal received
on the digital input bus of the chip.
W
0x0000
1
OUTPUT_EN
Enable the output of the category to the DATA lines (only if
S_CHIP=1).
W
0x0000
2
UNC
Status of the last recognition is uncertain, meaning that the firing
neurons do not recognize the same category.
Remark: The output register RTCAT correspond to the category of
the best match. Additional categories can be obtained by stopping
the recognition logic and executing successive read of the CM_DIST
and CM_CAT registers.
R
0x0000
3
ID
Status of the last recognition is identified, meaning that all firing
neurons recognize the same category.
*See Erratum at the end of this manual.
R
0x0000
4
V_FV
copy of V_FV signal
R
0x0000
5
Reco_Active
high while recognition is being executed
R
0x0000
Remark:
The prerequisite to set the RECO_ACTIVE are that the pin RECO_EN must be high and that the neurons
hold a knowledge base. This knowledge can be built on the chip itself by teaching the neurons in real-time, or it
can be loaded from a file saved at an earlier time. In the latter case, RECO_ACTIVE must be turned off while the
neurons are restored.
4.1.2
Recognition output registers
Description
Addr 8-bit
Access
Data 16-bit
Default
RTDIST
(2)
Real-time distance, or distance of top firing neuron
0x1D
R
0x0000