NM500 Manual
10
Abbreviation Register
Normal mode
SR mode
POWERSAVE PowerSave mode
Writing this register resets
the DATA lines to a tri-state
mode and ensures that they
do not draw current from
the pull-up resistors.
FORGET
Uncommit all neurons by
clearing their category
register.
Note that the neuron’s memory is
not cleared, but its index is reset
to point at the first component.
Also reset the MINIF, MAXIF and
GCR to their default values.
N/A
NCOUNT
Count of committed
neurons
Bit[15:0]= 2 lower bytes of
the count
NCOUNT=0xFFFF means that all
neurons of the chain are
committed. If the chain of neurons
is greater than 65535 neurons this
can also means that 65535
neurons are indeed committed.
Reading the upper byte of the NCR
register can extend the count to a
3 bytes value.
Index of the neuron
pointed in the chain.
Write RESETCHAIN points
to the first neuron. If it is
committed, NCOUNT will
be equal 1, otherwise 0.
RESET
CHAIN
N/A
Points to the first neuron
of the chain.
TESTCOMP(2)
For all committed neurons, write
their component pointed by the
current INDEXCOMP with the
same input value.
Refer to paragraph below for use
model.
TESTCAT(2)
Write the same category
to all the neurons. Useful
for test routines to commit
all neurons in one clock
cycle.
Refer to paragraph below
for use model.
(1)
If the content of the neurons has been built using their model generator, there should be no occurrences
of firing neurons with the same distance and same category. As a result, reading the NID returns the
identifier of the sole firing neuron. If, on the contrary, the content of the neurons has been loaded in
Save-and-Restore and is such that multiple neurons can fire with the same distance and same category,
NID will return an “irrelevant” value which is the AND of all their identifier.
(2)
Usage of the TEST registers: clear the neurons’ memory
-
Write NSR 0x10
Set the SR mode
-
Write TESTCAT 1
Commit all neurons with a dummy category value of 1
-
Write NSR 0x00
Cancel the SR mode, back to normal mode
-
For i=0 to 256