Spike Toolbox |
![]() ![]() |
STAddrSpecSynapse2DNeuron
Address specification utility function
Syntax
[stasSpecification] = STAddrSpecSynapse2DNeuron(nSynapseBits, nXNeuronBits, nYNeuronBits)
[stasSpecification] = STAddrSpecSynapse2DNeuron(nSynapseBits, nXNeuronBits, nYNeuronBits,
nSynapseMax, nXNeuronMax, nYNeuronMax,
bInvertSynapse, bInvertXNeuron, bInvertYNeuron,
bXSecond)
Description
This function returns an address specification structure for use with the
Spike Toolbox. This specification will contain a single synapse address
field and a two-dimensional neuron address field, all with user-specified
widths. The neuron address field is most significant.
The user can optionally specify an integer maximum for each field. If this is supplied, then addresses will be range checked. If a width of zero is specified for any field, this field will not be included in the specification.
The user can optionally supply bInvert...
specifications for each
addressing field. If bInvert...
is true, that field will be binary
inverted before addresses are sent to neuron hardware.
The user can optionally specify bXSecond
. If this binary value is true,
then the second neuron field will be labelled as the X field, and the first
as the Y field. By default, the X field comes first (is lower order in the
address).
See Also
Understanding toolbox addressing
STDescribe, STOptions
![]() |
STConcat
![]() |