WorksComputer Science
Synapse Loss Estimation for the BrainScaleS Wafer-scale Neuromorphic System
Abstract
Neuromorphic hardware combines memory (synapses) and computation (neurons) into the same silicon substrate to avoid the von-Neumann bottleneck. This way, neuromorphic computing aims to make computational neuroscience simulations and AI processing faster and more energy-efficient. The common crossbar architecture integrates a synapse matrix (analog, mixed-signal or digital) with a neuron array into a neurosynaptic core, whereas multiple cores are interconnected via a dedicated spike routing network. One of such neuromorphic architecture is the BrainScaleS wafer-scale system which allows the realization of very flexible network architecture, supporting both dense and sparse connectivity by highly configurable neurosynaptic cores. Yet, when network models from computational neuroscience are mapped to the BrainScaleS wafer, synapse loss can occur which means that for some model synapses no hardware synapse is available due to the restricted connectivity of the hardware. In this work we analyze the synapse loss when mapping uniform random networks to BrainScaleS both theoretically and empirically. We first develop a methodology to estimate maximum-sized networks without synapse loss based on probability distributions and the hardware's synapse routing architecture. Next, we adopt the methodology to predict the synapse loss for denser or larger network models. Then, we compare the predictions with results from actual runs of the mapping software: The results show the capabilities and limitations of the BrainScaleS system itself and spot shortcomings of the current mapping algorithms. The developed methodology can be helpful in multiple ways: to find the optimal settings when mapping a given network model to BrainScaleS, to act as a benchmark for the mapping software, and as tool for design space exploration for new hardware.
Introduction
By implementing neuron and synapses in dedicated circuits or processors, neuromorphic computing aims to make spiking neural network simulations faster and more energy-efficient. Besides efficient AI inference and neuro-robotics, scalable brain simulations is one of the main application areas of neuromorphic hardware. The recent review by Senk et al., 2026 shows how different hardware approaches (CPU, GPU, FPGA, digital and mixed-signal neuromorphic) compete to simulate a full-density cortical microcircuit model Potjans and Diesmann, [18] faster than biological real-time and with least energy.
One promising approach are accelerated, mixed-signal neuromorphic systems that emulate neuron and synapse dynamics in dedicated analog/mixed-signal circuits such as the BrainScaleS systems [Schmitt et al., 2017, Pehle et al., 2022]. The BrainScaleS wafer-scale system combines 384 neurosynaptic cores on a silicon wafer and interconnects them with a spike routing grid spanning across the wafer. To achieve a high synapse density, BrainScaleS employs the common crossbar architecture in its neurosynaptic core, where a synapse matrix receives spike input via synapse drivers on the left and right of the matrix and then forwards synaptic events (post-synaptic currents) to an array of neuron circuits below. To not only support dense networks but also sparse and structured networks, BrainScaleS uses a very sophisticated spike routing architecture (including address decoders in the synapse) that allows a flexible assignment of model synapses to hardware synapses. Furthermore, by combining multiple neuron circuits, larger compound neurons can be formed with a higher number of input synapses, thus supporting more than 10 000 synapses per neuron. Overall, a BrainScaleS wafer contains nearly 200k neurons and about 44 M synapses running 10 000 faster than biological real-time.
Due to the high complexity of the BrainScaleS routing architecture, a multi-step mapping process is required to map biological network models to the hardware. During the mapping, it may happen that for a model synapse no suitable hardware synapse can be found, which we call synapse loss after mapping or just synapse loss [Petrovici et al., 2014]. The reason for the synapse loss may either be a structural limitation (e.g., the maximum number of synapses per neuron) or a shortcoming of the mapping software and algorithms.
In this work we analyze the mapping of uniform random networks to the BrainScaleS wafer both analytically and empirically. We first develop a method to estimate the maximum size of uniform random networks that can be realized on the BrainScaleS wafer without synapse loss. Then, we extend our method to estimate the synapse loss for larger or denser uniform random networks. Finally, we compare our predictions to results of actual runs of the mapping software.
This article is structured as follows: In § 2, after introducing the BrainScaleS wafer-scale neuromorphic system and the mapping process, we derive the analytical methods to estimate the maximum size of lossless networks and to estimate the synapse loss for denser networks. § 3 shows the estimations using the developed methods and compares them to empirical results running the actual mapping software. The results are discussed and interpreted. Finally, in § 4 we summarize the results, analyze the chosen design parameters of the BrainScaleS routing architecture, and discuss the potential and limitations of our work in the broader context.
Material and Methods
BrainScaleS
In this section we describe the BrainScaleS wafer-scale system with focus on the on-wafer routing network and the related network mapping methodology.
Hardware description
System overview The BrainScaleS hardware (Figure 1) is built around a 20 cm silicon wafer in UMC 180nm technology containing 384 High Input Count Analog Neural Networks (HICANNs) applicationspecific integrated circuits (ASICs), with each 8 HICANNs per reticle. After fabrication a post-processing is applied to connect the HICANNs across reticle boundaries and to add electrical contacts for off-wafer connections. The wafer is mounted onto a printed circuit using elastomer connectors and integrated into to frame (Figure 1A) which contains several other custom boards for the FPGA-based off-wafer communication, for power supply and for readout of analog signals [Schmidt et al., 2023].

Figure 1. BrainScaleS wafer-scale hardware: A Assembled wafer module. B Wafer after post-processing with reticles containing 8 HICANNs each. C HICANN ASIC with neuron and synapse blocks highlighted. The on-wafer routing network is located left and right of the synapse arrays and between them. Figure from [Kungl et al., 2019, Fig. 1] with permission.
HICANN overview Each HICANN contains 512 neurons [Millner et al., 2010] and 114 688 synapses realized as mixed-signal circuits that emulate the neural dynamics 10 000 times faster than in biology. The neuron circuits implement the adaptive-exponential integrate-and-fire (AdEx) neuron model [2] with conductance-based synapses and can be configured with individual parameters stored in analog floating-gate memory. The HICANN is split into an upper and lower block each containing a row of 256 neurons and a synapse array of size (Figure 2), hence there are 224 afferent (incoming) synapses per neuron.1 Up to 64 neurons (each 32 from top and bottom block) can be interconnected to form larger compound neurons, this way supporting up to 14 336 incoming synapses.
Figure 2. On-wafer routing network: A reticle (top left) contains HICANNs with a grid of horizontal and vertical buses for spike event routing, which can be connected through sparse crossbar switches. Spikes are detected in neuron circuits, processed by a priority encoder and a merger tree, and then injected with a 6-bit address into a horizontal bus via a sending repeater. The analog serial spike events are re-generated at HICANN edges in repeater circuits. At target HICANNs, the events are routed via further static sparse switches to synapse drivers and thus the synapse arrays. The dark blue line shows an example route from neuron A to neuron B.
On-wafer spike routing The routing of spikes from source neurons to target synapses is realized through a grid of horizontal and vertical buses spanning across the wafer. Each HICANN has 64 horizontal buses in the center and 128 vertical buses on each side of the synapse array (Figure 2). Sparse crossbar switches allow to connect horizontal and vertical buses, thus creating fixed multicast routes across the wafer. Connections to the synapse array can be established by sparse switches connecting the vertical buses and the synapse drivers (the inputs to the synapse array). These synapse driver switches can also connect to synapse drivers on the neighbor HICANN. Neighboring synapse drivers can be concatenated to allow multiple synapse drivers to connect to the same vertical bus.
The routing network transmits 6-bit serial pulses representing the spikes of up to 64 source neurons in an adress-event representation (AER). When crossing HICANN borders, the 6-bit pulses are re-generated in so-called repeater circuits to avoid signal degradation for long routes over the low-voltage differential signaling (LVDS) buses. Initially, the pulses are generated by special sending repeaters that receive spike events from the neuron blocks: After spike detection in the hardware neuron, the 6-bit address assigned to the neuron is first processed by priority encoders that handles spikes from 64 hardware neurons, followed by a merger tree that routes events from 8 priority encoders to 8 horizontal buses via the sending repeaters. The merger tree also allows to forward spikes to the off-wafer routing network for recording and to inject external stimulus spikes from there.
HICANN synapse array The processing of incoming spikes events inside the synapse array is described in Figure 3: The 6-bit addresses representing the source neuron are decoded in two stages: the 2 most significant bit (MSB) are decoded in the synapse driver and the 4 least significant bit (LSB) in the synapse circuits. Each synapse driver is connected to two synapse rows via four strobe lines according to the patterns A, B, C, D in the figure: strobe line A connects to even synapse columns in upper synapse row, B to odd synapses in upper row, etc. If the 2 MSB of the 6-bit address matches the 2-bit address configured per strobe pattern, strobe pulses are generated and sent to the synapse array with amplitude defined by a row-wise scaling factor and pulse length given by a short-term plasticity (STP) circuit in the synapse driver. In the synapse, the 4 LSB of the 6-bit address are compared to a 4-bit decoder address per synapse. If it matches, the synapse circuit generates a current pulse with amplitude depending on a 4-bit weight via a digital-to-analog converter (DAC) and row-wise scaling factor and duration given by the strobe pulse.
Figure 3. Spike processing in synapse array: Spikes arrive as 6-bit pulses in the synapse driver. The 2 MSB are compared to the 2-bit configuration per strobe pattern A, B, C, D (also called half synapse rows). Upon a match, strobe pulses are sent to the synapse array. The pulse height is controlled by parameter (configurable per synapse row), while the pulse length is determined by a STP circuit in the synapse driver. In the synapse circuits, the 4 LSB of the 6-bit event are compared to a 4-bit value in SRAM. In case of a match, a current pulse is generated with its height depending on a 4-bit weight and . This current pulse is transmitted to either the left or right synaptic input circuit of the neuron in the same column (configured per synapse row).
Depending on a row-wise configuration, the current pulse is transmitted to the left or right synaptic input circuit of the neuron in the same column. Each synaptic input circuit implements a conductance-based synapse with configurable reversal potential and decay time constant. A current pulse from a synapse increases the modeled conductance proportional to the integral of the current pulse. Typically, the two synaptic inputs are used to model excitatory and inhibitory synapses, but, by combining multiple neuron circuits, it is possible to implement neurons with more than two synapse types, for example to support multiple different excitatory synaptic time constants.
Mapping process
Here we briefly describe the process of mapping spiking neural networks to the BrainScaleS wafer (see [8] for detailed description and [Müller et al., 2022] for the overall software stack):
Network description Neural networks are defined in a Python program using the PyNN API [4] by means of populations and projections. A pyNN.Population is a group of neurons with the same neuron model but individual parameters. Synapses between two populations are created by a pyNN.Projection offering different connectors (e.g., one-to-one, all-to-all, fixed-probability, distance-dependent, from-list). Synaptic weights can be static or dynamic, then implementing a specific short-term or long-term plasticity rule such as spike-timing-dependent plasticity (STDP). The synapse model is part of the neuron model, for example, the pyNN.if_cond_exp model describes a leaky integrate-and-fire model with exponentially-decaying conductance-based synapses with different parameters for excitatory and inhibitory synapses. The synapse type (excitatory or inhibitory) is set per projection with the receptor_type keyword. PyNN also allows to define external stimuli by connecting Populations of spike source neurons (e.g., Poisson-distributed or used-defined spike times), and the variables to be recorded during simulation, such as spikes or the membrane voltages.
Mapping steps The input to the mapping software is the PyNN network description which is converted to a graph of populations with projections represented as edges between them. Additionally, hardware-specific information can be provided such as the HICANNs to be used, calibration or defect information, as well as algorithm-specific parameters.
Then, the following mapping steps are performed to generate a configuration for the BrainScaleS hardware:
Neuron Placement: Model neurons are placed to compound neurons on the HICANNs. The size of the compound neurons can be set by the user. The placement can be done automatically (e.g., population-wise putting populations onto different HICANNs) or manually in the Python script.
Merger Tree Routing: Here, the connections between the compound neurons and the on-wafer routing buses are established. 6-bit addresses are assigned to each mapped neuron and the merger tree is configured such that no more than 64 neurons transmit spikes to a horizontal bus. For example, if 128 neurons of size 4 are mapped to a HICANN, 2 horizontal buses will be used.
External Input Placement: External neurons (spike sources) are assigned to input channels on the wafer (8 per HICANN) with a 6-bit address. These input channels connect to horizontal buses via the 8 sending repeaters per HICANN. Horizontal buses already connected by real neurons cannot be used anymore. The algorithm tries to minimize the number of horizontal buses used and may consider spike rates to not exceed off-wafer bandwidth limits.
Wafer Routing: Starting point is the list of horizontal buses per HICANN to which either real neurons or external neurons are mapped to (up to 64 each). These on-wafer routing sources need to be connected to all respective target HICANNs. First, the list of target HICANNs for each routing source is extracted from the network graph and the neuron placement. Next, the routes to the target HICANNs are allocated by configuring the repeaters and crossbar switches for connecting the horizontal and vertical buses: For this, the routes are first extended horizontally and then vertically across the wafer to reach all target HICANNs. It may happen that not all target HICANNs are reached leading to synapse loss.
HICANN Synapse Routing: Vertical buses are connected to synapse drivers and model synapses are mapped to hardware synapses. This is implemented in three steps:
(a) For each vertical bus with target neurons on the HICANN calculate the number of required synapse drivers to realize all model synapses.
(b) Assign and connect synapse drivers to vertical buses via the synapse driver switches and through synapse driver concatenation.
(c) Assign model synapses to hardware synapses by configuring the respective address decoders in the drivers and synapses.
Synapse loss may occur in steps (b) and (c).
This mapping step is the one most relevant for the studies in this article. Sub-step (a) is described in § 2.2, for sub-steps (b) and (c) please refer to [8].
Parameter Transformation: Neuron and synapse model parameters are translated to a configuration for the hardware circuits. Model parameters are first translated to the hardware domain considering the time and voltage scales of the circuits. Then calibration data is applied to obtain the 10-bit DAC values for the neuron parameters. Finally, 4-bit synapse weights and row-wise settings are calculated based on calibration data and optimization mechanisms to minimize quantization and clipping errors.
An overview of the mapping steps is shown in Figure 4.
Figure 4. Mapping steps
Synapse driver requirements
In this subsection we introduce the synapse driver requirements calculation, the first part of the HICANN Routing step. This is necessary to understand the newly developed methods in later sections: maximum network size estimation in § 2.3 and synapse loss estimation for uniform random networks in § 2.4. We first introduce terms and prerequisites in § 2.2.1, then describe the algorithm used in the software stack in § 2.2.2, and close with deriving the number of required synapse drivers for one routing source for uniform random connectivity (§ 2.3).
Prerequisites
On the highest level, synapse drivers with its 2 synapse rows of total 512 synapses are the limited resources for the HICANN synapse routing because it is the smallest entity to be connected to one vertical bus. The synapse driver requirements are calculated for each HICANN side, considering the on-wafer routing sources available on the vertical buses either left or right of the HICANN. We assume a neuron size of at least 2, such that neurons from upper and lower block are always connected and such that each side can be treated as a whole [6].
For actual network topologies, the number of required synapse drivers per HICANN side is calculated as follows (simplified, neglecting short-term plasticity): Find all on-wafer routes available on the vertical buses next to the HICANN side carrying signals from neurons that have model synapses to neurons mapped to this HICANN.
Model synapses For each on-wafer route extract the model synapses to neurons on this HICANN. The model synapses are defined by:
SrcAddr: 6-bit address of source neuron
TgtNrn: target neuron (Index of compound neuron on HICANN)
SynType: synapse type
synaptic weight
STP parameters
For simplicity we ignore the weight for now and assume static synapses without STP so that model synapses are defined by:
Hardware synapses Instead, hardware synapses (cf. Figure 3) are defined by
4-bit decoder address of the synapse
2-bit decoder address assigned to the half synapse row
Whether the synapses of the synapse row connect to the left or right synaptic input circuit of the neuron
scaling factor per synapse row
STP hardware parameters
Again, let’s ignore the weight scale and STP settings for now.
Mapping problem Hence, in order to map model synapses to hardware synapses, the following is needed:
The synaptic input circuit of the connected hardware neuron must implement the synapse type of the synapse.
2-bit decoder address of half synapse row pattern matches the 2-MSB of the source address
4-bit synapse decoder address matches the 4-LSB of the source address
Obviously, model synapses with the same target neuron, synapse type and 2-MSB address are equivalent in the mapping process, that is, they can be implemented by same set of hardware synapses.
Synapse target mapping Before calculating the number of required synapse drivers, we first perform a mapping of synapse types to input circuits of the hardware neurons. Here, we assume the simple case with just two synapse types and map excitatory to the left inputs and inhibitory to the right inputs in each neuron column. As a consequence, all synapses in one row can implement either excitatory or inhibitory synapses.
Synapses per half synapse row As shown in Figure 3, compound neurons can be formed with up to 64 hardware neurons. If the neuron width is larger than 2, there are multiple synapses belonging to the same strobe pattern that connect to same compound neuron. Table 1 lists the number of synapses per pattern (here called half synapse row) depending on the neuron size. For example, in case of neuron size 8, when assigning one half synapse row to MSB pattern 0b00, 2 synapses from that address range [0,15] can be implemented.
| Neuron size | 4 | 8 | 12 | 16 | 32 | 64 |
| Neuron width | 2 | 4 | 6 | 8 | 16 | 32 |
| Synapses per half row | 1 | 2 | 3 | 4 | 8 | 16 |
Table 1. Number of synapses per half synapse row
Synapse driver requirements calculation
The number of required synapse drivers per routing source are calculated as follows:
Synapses per pattern and type: For each target neuron , count the number model synapses per 2-MSB pattern and synapse type, yielding:
Note, practically, is a 3D array of shape with the synapse counts for all target neurons, the four 2-MSB patterns, and two synapse types.
Half rows per pattern and type: For each target neuron , calculate the number of half synapse rows required to realize all synapses per 2-MSB pattern and synapse type considering the neuron size and Table 1.
Half rows per pattern and type (all neurons): Next, we take the maximum number of half rows across all neurons for each 2-MSB pattern and synapse type.
Synapse rows per side: Next, we consider the synapse type and calculate the number of synapse rows required per input target (left or right). For this, for each synapse type we compute the sum of the half rows over the patterns, divide it by 2 and round up:
Synapse drivers: Finally, calculate the number of drivers by summing up the rows per side, dividing by 2 and rounding to the ceiling:
Based on this, the total number of drivers per HICANN side is calculated by summing the requested drivers of all on-wafer routing sources.
Note that the described approach is a simplification of the actual implemented software algorithm for synapse driver requirements calculations which also considers the STP mode (off, facilitating, depression). It also supports neuron models with more than 2 synaptic input circuits and flexible synaptic target mappings.
Synapse driver estimation for uniform random networks
The required number of routing resources for uniform random networks can be estimated with the following, newly derived methodology.
Binomial distribution applied to uniform random networks When connecting source neurons with connection probability to a single target neuron, the number of synapses follows the binomial distribution:
(The probability that there are synapses equals ).
Accordingly, the cumulative distribution of the binomial distribution
can be used to calculate the probability that there are less or equal synapses.
If we consider a uniform random network with source neurons and target neurons with connection probability , we can calculate the probability that for all target neurons there are less or equal than synapses:
Explanation: The probabilities for all target neurons are independent and identically distributed, hence the probabilities need to be multiplied.
Required synapse drivers per routing source We extend this approach to the estimate the number of required hardware resources per routing source. For this, we assume a homogeneous synapse target mapping, hence all neuron sizes on one HICANN are the same. Furthermore, we assume that source neurons on one routing source are either all excitatory or inhibitory, such that we don’t need to distinguish between synapse types when calculating the number of synapse rows as in eq. (5).
Equation (9) provides the formula that all target neurons have less or equal than synapses. We make use of this to calculate the probability that the maximum number of synapses to all target neurons is :
Explanation: The probability for is given by ; for higher values the probability can be calculated using the difference of and .
Next, we look at synapses from one 2 MSB pattern (hence, 16 source neurons) and consider the number of synapses per half synapse row (which depends on the neuron size, see Table 1) to calculate the probability that half synapse rows are required to realize all synapses:
Note that above formula provides probabilities for eq. (4) in the requirements calculation.
Next, we combine the probabilities of all four 2 MSB patterns to calculate the probability that half synapse rows are required to fit all synapses from the 64 source neurons of one on-wafer routing source:
where is the set of all tuples whose elements sum up to . For example, for the probability for half rows one has to consider 4 cases, namely the tuples , , , .$2
Finally, we calculate the probability that synapses drivers are required for realizing all synapses by taking into account that there are 4 half synapse rows per driver:
Explanation: The probability for requiring 1 driver is equal to the sum of the probabilities for requiring 1 to 4 half synapse rows, etc.
Figure 5 show an example for estimating the required resources for one on-wafer routing source following the approach described above.
Figure 5. Example: Required resources for uniform random networks. This figure illustrates how to compute the number of required hardware resources to realize all synapses from an on-wafer routing source to all target neurons on a HICANN. Parameters used here: connection probability , target neurons per HICANN of size 8. A The number of input synapses per target follows a binomial distribution ( sources per 2 MSB address pattern). B Probability that is the maximum number of synapses per target for all target neurons. C Probability that half synapse rows are required to realize all synapses from the sources per 2 MSB address pattern. D Number of half synapse rows required for all four 2 MSB patterns. E Number of required synapse drivers.
Estimating the maximum number of source neurons per HICANN
Based on eq. (13) one can calculate the expected number of drivers required to realize all synapses per on-wafer routing source:
Note that this is an expectation value, not a discrete number.
Next, we calculate how many routing sources can be served with the 224 synapse drivers per HICANN considering the expected number of drivers per source (Equation (14)) required to implement all synapses. The expected number of routing sources is given by:
considering that there cannot be more routing sources than drivers.
Last, the maximum number of input neurons per HICANN for a given connection probability can be estimated by multiplying the number from eq. (15) with the 64 addresses per routing source:
Note that for this calculation we neglect several hardware constraints, such as that the synapse drivers are separated into 4 blocks, or that the synapse driver switches are sparse which might hinder some connection setups.
Synapse loss estimation
To estimate the synapse loss for given uniform random networks (either feed-forward or recurrent), we take a reverse approach: We step by step assign resources to requests and then estimate the fraction of synapses that can not be realized. First, synapse drivers are assigned to routing sources, then half synapse rows are assigned to the 2 MSB patterns of the 64 addresses on one routing source. To perform this top-down approach in optimal way, we first have to introduce the concept of the synapse gain per hardware resource:
Probability for more than synapses per neuron We go bottom-up and analyze how many model synapses per 2 MSB pattern can be realized for a given number of half synapse rows. For uniform random networks with connection probability , we consider the survival function to calculate the probability that there are more than synapses per neuron from source neurons:
with being the cumulative distribution from eq. (8).
Synapse gain per half synapse row Next, we calculate how many additional synapses can be implemented with each additional half synapse row assigned to a 2 MSB pattern for target neurons: The synapse gain of the th assigned half synapse row is calculated as:
which depends on the chosen neuron size through the number of synapses per half synapse row (cf. Table 1). The number of target neurons is just a multiplicative factor. Note the zero-based numbering of in eq. (18) such that refers to the first assigned half synapse row.
Realized synapses for assigned drivers Next, we estimate the number of synapses that can be realized when synapse drivers are assigned to a routing source. For this, the 4 half synapse rows per driver (A, B, C, D in Figure 3) need to be distributed to the 2 MSB patterns of the 64 addresses per routing bus. We pursue an optimal distribution of half synapse rows to 2 MSB patterns which maximizes the overall number of realized synapses. For this, we sort the synapse gains of all patterns in descending order:
Then, the number of synapses that can be realized with assigned synapses drivers per routing source is given by:
which considers that there are 4 half synapse rows per driver. Correspondingly, the number of lost synapses amounts to:
Based on this one can calculate the expected relative synapse loss as
Distribution of synapse drivers to routing sources In the synapse loss estimation in § 3.2, where we sweep the number of routing sources per HICANN, we need to distribute the 224 overall drivers to the routing sources.
When the number of routing sources , then we assign:
drivers to routing sources, and
drivers to the remaining routing sources.
Then, the total number of realized and lost synapses is calculated as:
When the number of routing sources exceeds the number of synapse drivers, then for routing sources all synapses are lost while the others receive one driver:
Hardware limitations
The BrainScaleS wafer-scale system has several limitations due to its analog/mixed signal implementation which affect the mapping and routing of spiking neural networks. Here, we list those limitations relevant for the studies in this article:
4-bit weight to disable synapses: The hardware synapses use a 4-bit digital weight which is translated into a current amplitude via a DAC. Apparently, a digital weight 0 leads to a non-zero positive current, as has been studied in [9]. Hence, in order to disable a hardware synapse one 4-bit address (e.g. 15) is reserved, which then is never used during the mapping process when assigning 6-bit addresses to neurons on routing buses. This decreases the number of neurons per routing source from 64 to 60.
6-bit address 0 for repeater locking: The on-wafer routing network uses a delay-locked loop (DLL) in the repeaters for recovering the timing of the serial events (6-bit address plus start and stop bit) [Schemmel et al., 2010]. For a reliable operation events with the 6-bit address 0b000000 must be sent regularly for locking the DLLs, which is realized through the background event generators. This makes the 6-bit address 0 unusable for real neurons and thus further reduces the number of usable 6-bit addresses to 59.
Synapse driver concatenation: As described in § 2.1.1, the inputs of multiple neighboring synapse drivers can be interconnected to receive the same signal from the synapse driver switches. The length of such synapse driver chains is limited: if too many are connected, the signal quality suffers leading to errors when capturing the 6-bit addresses [10]. While the mapping software [Müller et al., 2022] limits this chain length to 3 per default, here we consider 5 as the maximum synapse driver chain length in § 3.
Usable HICANNs: From the 384 HICANNs on the wafer there are 16 that in practice cannot be used for real experiments, because the two reticles they belong don’t have off-wafer connections for sending and receiving spikes [Schmidt et al., 2023]. This reduces the number of usable HICANNs to 368, which we consider for the synapse loss estimation in § 3.2.
List of symbols and constants
Table 2 shows a list of symbols and constants used in this article.
| symbol | description | value / value range |
| connection probability | ||
| probability distribution of random variable | ||
| cumulative distribution function | ||
| survival function | ||
| synapses | - | |
| half synapse rows | - | |
| synapse rows | - | |
| synapse drivers | - | |
| target neurons on HICANN | - | |
| TgtNrn | index of target neuron on HICANN | - |
| synapses per half synapse row per target neuron | see Table 1 | |
| SrcAddr | 6-bit source address | [0, 63] |
| Pat | 2 MSB pattern of SrcAddr | [0, 3] |
| SynType | synapse type | {excitatory, inhibitory} |
| Side | side of synaptic input circuit in hardware neuron | {left, right} |
| synapse utilization | ||
| synapse drivers per HICANN quadrant | 56 | |
| synapse drivers per HICANN | 224 | |
| hardware neurons per HICANN | 512 | |
| hardware synapses per HICANN | 14 336 |
Table 2. List of symbols and constants
Results
Maximum size of lossless uniform random networks
We apply the methods from § 2.2.3 and § 2.3 to estimate the maximum realizable uniform random networks on the BrainScaleS hardware.
Maximum number of source neurons per HICANN We first do this for feed-forward networks on one HICANN for three different settings of the compound neuron size (4, 8, or 16 neuron circuits) and thus different number of target neurons (128, 64, 32 respectively). We sweep the connection probability between 0.01 and 1.0 and estimate the number of source according to eq. (15), as shown in Figure 6. Two trends can be identified: First, the larger the neuron size, the larger is the expected number of source neurons supported, which is due to more synapses per half row per target neuron. Second, the realizable number of source neurons decreases with the connection density, as expected. Note that in all setups we assume 64 input neurons per on-wafer routing source. Only for a large neuron size (16) and a connection probability below 0.05 the number of realizable source neuron reaches the maximum number (number of synapse drivers 64).
Figure 6. Realizable uniform random networks on HICANN. Left: Expected number of source neurons for which all synapses to target neurons on a HICANN can be realized depending on the connection probability and different mapping scenarios (Number of target neurons and neuron size). The upper limit of source neurons is given as . Right: Expected number of realized synapses per HICANN for the data from the left according to eq. (27). The right axis shows the relative utilization of the overall 114 688 synapses per HICANN.
To estimate the utilization of hardware synapses, we first calculate the expected number of synapses as:
and then calculate the synapse utilization by dividing by the number of hardware synapses per HICANN:
The results are shown on the right side of Figure 6: For the synapse utilization is proportional to , reaching 100 % for . Instead, for lower connection probabilities, the utilization scales better than linearly. This scaling behavior is similar for all 3 settings but one can recognize discretization effects for larger neuron sizes: The number of synapses per half row is higher for larger neuron sizes (Table 1), which leads to more unused hardware synapses for neuron sizes of 16 or 32, and thus a worse overall synapse utilization.
Comparison to hardware architecture with 6-bit address decoding in the synapse The HICANN applies a distributed decoding of the 6-bit source addresses: The 2 MSB are compared per half synapse row in the driver, while the 4 LSB are configurable per hardware synapse. This is a trade-off between routing flexibility and hardware cost, as each bit in the synapse increases the required silicon area [Schmuker et al., 2008, Fierres et al., 2008]. Here, we analyze the case where all 6 bits
are decoded in the synapses. The remaining conditions stay the same, such as 2 synapse rows per driver. The expected number of routing sources per HICANN and the synapse utilization are shown in Figure 7 for the setup with 64 target neurons of size 8 and compared to the split 2 bit/4 bit decoding: Especially for lower connection probabilities the number of realizable source neurons is higher for the 6-bit synapse decoder case, which also leads to a significantly higher synapse utilization shown on the right. Of course, this comes at the price of additional hardware cost (silicon area): 2 more lines for broadcasting the 2 MSB to the synapses as well as 2 additional SRAM cells and 2 extra comparators per synapse are needed. For example, the height of the synapse circuits would increase, which in turn would reduce the number synapse rows fitting into the same chip area. Our methodology can be applied to find the optimal hardware architecture for implementing certain networks of desired size and connection density. We note that the 6-bit address decoding has been applied in the BrainScaleS-2 system [Pehle et al., 2022], which is implemented in a smaller technology (65 nm vs. 180 nm) with reduced area per SRAM cell and digital logic.
Figure 7. Comparison to hardware architecture with 6-bit synapse address decoder. The HICANN decodes the upper 2 bits of the 6-bit neuron addresses for each half synapse row and only 4 bits in the synapse. This approach is compared to a setup where all 6 bits are decoded in the synapse. Left: Expected number of source neurons for which all synapses to target neurons on a HICANN can be realized for 64 target neurons of size 8. Right: Expected number of realized synapses per HICANN and synapse utilization.
Considering all HICANN constraints Next, we analyze the effect of the additional hardware constraints (§ 2.5) such that only 59 of 64 addresses are usable per on-wafer route and that the number of synapse drivers that can be connected in a chain is limited. The results are shown in Figure 8: The largest effect of mapping only 59 source neurons to a on-wafer routing source is visible for a neuron size of 16 and low connection probabilities. Now, the maximum number of source neurons per HICANN is reduced to of the non-constrained case. Interestingly, for neuron sizes of 8 and 4 there is barely any effect on the expected number of source neurons. Yet, the synapse utilization is significantly reduced especially for higher connection probabilities, as shown on the right of the figure for neuron size 8. Note that here the number of target neurons per HICANN was reduced to 59 respectively 118 for neuron sizes 8 and 4, as this represents a more realistic mapping scenario avoiding the need for additional on-wafer routing buses for outgoing connections.
Figure 8. Realizable uniform random networks on HICANN with constraints. In real experiments, only 59 out of 64 addresses can be used for real source neurons, as described in § 2.5. We compare the realizable uniform networks with 59 sources (darker lines) to the previously assumed 64 sources (lighter lines) per on-wafer routing source. Left: Expected number of source neurons for which all synapses to target neurons on a HICANN can be realized depending on the connection probability and different mapping scenarios (Number of target neurons and neuron size). MaxC denotes the maximum number of source neurons in the constrained case: 224 drivers × 59 addresses = 13216. Right: Expected number of realized synapses and synapse utilization per HICANN for neuron size 8. The dotted lines show the cases affected by the synapse driver chain length limitation: here, all cases are marked where the probability is higher than 80% that more than 5 drivers per routing source are required.
The synapse driver chain length limitation only affects neuron sizes 8 and 4: Here, the cases are marked by a dotted line, where the probability that more than 5 synapse drivers are needed per routing source is larger than 80%.
Maximum recurrent networks So far, we have analyzed feed-forward networks on one HICANN. Next, we ask what are the largest recurrent uniform random networks that can be realized on the wafer? For this we assume a consistent mapping of neurons per routing source for both input and target neurons on the HICANN. For example, for a neuron size of 16, we map only 30 neurons per HICANN (and not 32) such that only two 2-MSB patterns per routing source are needed. We now consider four different mapping setups which are specified in Table 3 depending on the neuron size. Note that we added a setup with 40 neurons of size 12. The setups may use up to 112 or 224 HICANNs depending on used outgoing routing sources per HICANN. We assume that all routes between HICANNs can be established in the wafer routing step (§ 2.1.2).
| neuron size | 4 | 8 | 12 | 16 |
| neurons per HICANN | 118 | 59 | 40 | 30 |
| routing sources per HICANN | 2 | 1 | 1 | 1 |
| 2-MSB patterns per routing source | 4 | 4 | 3 | 2 |
| maximum number of HICANNs | 112 | 224 | 224 | 224 |
| maximum number of neurons | 13 216 | 13 216 | 8960 | 6720 |
Table 3. Mapping setups to estimate maximum realizable recurrent networks in Figure 9. For neuron size 12 there are maximum 40 neurons per HICANN and not 42 as compound neurons may not exceed the bounds of neuron blocks containing 64 neurons per priority encoder.
The maximum realizable recurrent networks depending on connection probability are shown in Figure 9: For a neuron size of 8 allows to realize networks with over 12 000 neurons. For probabilities between 0.02 and 0.08 the largest networks can be implemented with neuron size 12. Instead, neuron size 16 yields the best results for connection probabilities . In the latter case, the network size varies between 3360 and 6720, which corresponds to the cases of assigning 2 respectively 4 drivers per routing source.
Figure 9. Maximum recurrent uniform random networks. The figure shows the expected maximum network size of uniform random networks that can be implemented on one wafer for different connection probabilities and mapping scenarios. We assume that all inter-HICANN connections can be realized during the on-wafer routing step (§ 2.1.2). For this study, the number of source neurons per routing source is consistent with the number neurons sending on one routing bus and depends on the mapping scenario. In contrast, previous studies (e.g., Figure 6 and Figure 8) always use the same number (64 or 59) of source neurons per routing source.
Synapse loss estimation for uniform random networks
In the previous section we estimated the maximum sized random networks that can be completely realized on the BrainScaleS wafer. Here, we estimate the synapse loss for uniform random networks according to the methodology developed in § 2.4.
Synapse loss depending on number of inputs to HICANN We first consider feed-forward uniform random networks with target neurons mapped on one HICANN. For different mapping scenarios (size and number of neurons per HICANN) we sweep the number of input neurons and connection probability and estimate the synapse loss according to eq. (22) in § 2.4. In six subplots for connection probabilities 0.01, 0.05, 0.1, 0.2, 0.5 and 1.0 the approximate synapse loss is plotted against the number of source neurons. Here we only consider the realistic case with maximum 59 neurons per
routing source, cf. § 2.5. As one would expect, the synapse loss increases with the connection probability and the number of source neurons, but is the smaller the larger the neuron size. For a low connection probability of the synapse loss is close to 0 for up to 13 216 source neurons for scenarios with a neuron size . After this source neuron limit, the number of routing sources exceeds the number of synapse drivers leading to an inevitable synapse loss highlighted by the gray dashed line and shaded area in the figure. While for the synapse loss curves for neuron size 8 and 16 nearly match, from the scenario with 32 neurons of size 16 shows significantly lower synapse loss, staying close to the synapse driver limit (dashed line) for probabilities up to 0.1.
In Figure 10, crosses mark the estimated maximum number of source neurons without synapse loss from the previous section (Figure 8). In all cases, the estimated synapse loss is which suggests that the estimation is quite accurate. But how do the two approaches differ? Why can the synapse loss be non-zero at the given number of input neurons? Here is the reasoning: The maximum size estimation uses an expectation value (a real number) of the required drivers per routing source to calculate the maximum number of source neurons (Equations (14) to (16)), thus taking into account statistical variations. Instead, the synapse loss estimation uses the same synapse gain distribution (Equation (19)) for all routing sources and does not cope for statistical variations: When assigning respectively drivers per routing source, especially the routing sources with assigned drivers may contribute to the synapse loss. Yet, in real scenarios, the synapse gains will differ from routing source to routing source allowing for an optimized assignment.
Figure 10. Synapse loss approximation for feedforward uniform random networks. For different connection probabilities and mapping scenarios (number and size of target neurons on one HICANN), the synapse loss is estimated depending on the number of source neurons per HICANN. As in Figure 8, we consider the realistic case that only 59 of 64 addresses per routing source can be used for neurons (§ 2.5). The crosses mark the expected number of source neurons that can be implemented without synapse loss, as determined in Figure 8. The gray dashed lines (highlighted by the gray area underneath) denote the synapse loss due to the limited number of 224 synapse drivers per HICANN: Once there are more than 224 routing sources, all synapses are lost for the fraction of routing sources exceeding this limit.
Synapse loss in recurrent networks Next, we look again into recurrent uniform random networks and estimate the synapse loss for different network sizes, connection probabilities and mapping scenarios. As in the previous section, the number of source neurons per routing bus is chosen consistently with the mapping scenario. Figure 11 shows the results in 6 subplots for different connection probabilities: Note that the curves end at the maximum network size for each mapping scenario. Overall, the estimated synapse loss is the smaller the larger the neuron size – until there are more routing sources than synapse drivers per HICANN which is visible as kinks at network sizes 6720, 8960 and 13 216 respectively for connection probabilities . When exceeding these limits, some routing sources get 0 drivers assigned leading to an increasingly higher synapse loss.
Figure 11. Synapse loss approximation for recurrent networks with uniform random connectivity. Estimated synapse loss of recurrent networks depending on the network size for different connection probabilities and mapping scenarios. We assume that all inter-HICANN connections can be realized during the on-wafer routing step (§ 2.1.2). As in Figure 9, the number of source neurons per routing source is consistent with the number neurons sending on one routing bus and depends on the mapping scenario. The crosses mark the expected network size that can be realized without synapse loss. Note that the lines end at the maximum network size per mapping scenario, which depends on the number of neurons per HICANN. The curves for neuron size 4 are cropped at the x-axis limit, please see Figure 13 for the full plot.
Figure 13. Synapse loss approximation for recurrent networks with uniform random connectivity with 118 neurons per HICANN. Estimated synapse loss of recurrent networks depending on the network size for different connection probabilities for the mapping scenario with 118 neurons per HICANN of size 4. In comparison to Figure 11, this plot shows the curves for different in one plot and up to the maximum network size for this mapping scenario.
The study in Figure 11 can be used to pick the optimal mapping scenario for given network size and connection probability: For networks with more than 21 712 neurons one has to choose neuron size 4, while between 14 720 and 21 712 neuron size 8 always yields the lowest synapse loss. Interestingly, between 11 040 and 14 720, for low connection probabilities () it is best to use 59 neurons of size 8, while for higher probabilities it is best to use a neuron size of 12 (yet still with losses larger than 25%). For lower network sizes, neuron sizes 12 and 16 show the lowest synapse loss, at least until the synapse driver limits (cf. kinks) are hit. Notably, for very low connection densities () neuron size 8 yields a close to 0 synapse loss for up to 13 216 neurons and the lowest synapse loss until reaching the network size limit of 21 712 neurons. One general observation is that for a given network size not always the largest neuron size yields the lowest synapse loss, but other scenarios may perform better. Hence, one should search for the optimal mapping case by case.
Figure 11 shows the estimated maximum lossless network sizes from the previous section as crosses: The observations are similar to those of the feed-forward networks: For small connection probabilities () one can realize networks with a near-zero synapse loss whose size is significantly larger than the estimated maximum lossless network. Instead, for denser networks, the crosses are very close to kinks where synapse loss starts to increase steeply.
We note that this synapse loss estimation for recurrent networks does not consider the potential loss of synapses during the on-wafer routing step, when some routing sources can not be routed to their respective target HICANNs. Yet, we can treat the results as significant for large networks by assuming that after the on-wafer routing at least 224 routing sources have been routed to each target HICANN.
Comparison to actual mapping
Finally, we compare the presented synapse loss estimation with actual synapse loss after running the mapping steps in § 2.1.2. Here, we show results using the 1st generation mapping stack, the so-called MappingTool [5, 3]. It is planned to update the results with the 2nd generation mapping stack called Marocco [Müller et al., 2022].
For this mapping versus theory study, uniform random network with connection probabilities 0.01 and 0.05 are created at different network sizes and mapped to the BrainScaleS wafer using neuron sizes 4 and 8. The synapse loss after mapping is shown in Figure 12 and compared to the estimated synapse loss. A dashed vertical line separates the neuron size used for mapping, as in [8 Fig. 8.8]. The fraction of synapses lost after the on-wafer routing (cf. § 2.1.2) is shown as blue dashed line.
Figure 12. Synapse loss of recurrent uniform random networks: mapping versus theory. Relative synapse loss for recurrent networks with connection probability 0.01 (left) and 0.05 (right) at different network sizes. Labels: final – synapse loss at the end of the mapping, on-wafer – synapse loss after the on-wafer routing step, estimated – synapse loss approximation according to § 2.4 and Figure 11. The vertical dashed line denotes the transition from using neuron size 8 to 4, as in [8 Fig. 8.8]. For networks with more than 36K neurons could not be mapped due to memory limitations. Note that the estimated curves look much smoother as they use a step size of 59 neurons, while the actual mapping is performed with larger steps.
At connection probability , starting from 6000 neurons some synapses can not be mapped to the hardware. At 10K neurons the synapse loss surpasses 10% while the expected loss stays close to 0 until 13 216 neurons. This deviation can be explained as follows: The sparseness of the synapse driver switches (Figure 2) makes the synapse driver assignment step (cf. Figure 4, where synapse drivers are connected to vertical buses) a hard task. With the used connection algorithm (heuristic approach from [6]), for some vertical buses carrying spikes to a HICANN it can happen that there is no free synapse driver reachable via the sparse switch matrix. Hence, no synapse at all can be realized from this routing source for the given HICANN. The effect of the sparsity is more pronounced when there are many routing sources requiring connections to synapse drivers on the HICANN. We remark that improved results may be possible with alternative assignment algorithms as developed by [8].
Between 18K and 22K the actual synapse loss approximately matches the estimated loss. Instead, for larger networks the actual synapse loss is always slightly lower than the estimated loss. There are two reasons for this: First, the routing algorithm, more precisely the synapse driver requirement calculation, considers the variations of synapses per routing source and 2 MSB patterns, assigning hardware resources such that the overall loss of synapses is minimized. Instead, the synapse loss estimation assumes identical synapse gain distributions for each routing source (as discussed in § 2.4). Secondly, the sparseness of the synapse driver switch matrix is no longer a limiting factor, as most routing sources are connected to only one driver each.
Figure 12 on the right shows the comparison for connection probability : Notably, the actual synapse loss starts to occur from about 4000 neurons, increases beyond 25% at 10000 neurons, and then falls back to 20% at 14000 neurons. The high loss at 10k neurons is again related to connecting vertical buses to synapse drivers which is limited by the sparsity and layout of the synapse driver switches. At this network size, there are many routing sources with assigned drivers. On the one hand, if there is no free connection to a driver, many synapses are dropped. On the other hand, other routing sources may not be able to find an accessible driver due to the switch pattern. This effect decreases when approaching 14 000 neurons when on average each routing source per HICANN gets assigned one driver which is easier to connect. Yet, the actual synapse loss after mapping is larger than the estimated loss between 14K and 18K neurons. From then on, the estimation matches very well the actual synapse loss.
To summarize the results for both connection probabilities: For small networks the synapse loss after mapping is much larger than the estimated loss, which can be attributed to challenges when connecting vertical buses to synapses drivers. Instead, for more than 20K neurons the estimation fits quite well with the actual synapse loss.
Note that the synapse loss after the on-wafer routing in Figure 12 is always much smaller than the final synapse loss. This suggests that the dominant factor for synapse loss in recurrent uniform random networks is the limited number of synapse drivers per HICANN, and not the inter-HICANN connectivity. This also confirms our previous assumption in § 2.4 that it is valid to ignore the on-wafer routing when estimating the synapse loss.
Discussion
Summary
In this study we have presented theory to estimate the maximum realizable uniform random networks without synapse loss on the BrainScaleS wafer-scale neuromorphic system. The approach was applied for both feed-forward and recurrent networks at different network sizes and for different mapping scenarios (neuron size respectively number of neurons per HICANN). We further studied how specific hardware limitations (cf. § 2.5) decrease the maximum realizable network size.
In a second step, the theory was extended to estimate the synapse loss after mapping for given networks sizes and connection probabilities. The results show that for a given connection probability there are much larger network sizes possible (compared to the maximum size estimation) when a synapse loss of up to 1% is tolerated, especially for small .
Next, we compared the estimated synapse loss to the real synapse loss after running the mapping software for the BrainScaleS wafer system. Here, we used the MappingTool, the first version of the mapping software. For small and large recurrent network, the synapse loss estimation matches quite well the actual synapse loss after mapping. Yet, for network sizes between 6000 and 16 000 neurons, the actual synapse loss is much higher than estimated. This can be attributed to challenges in connecting the vertical buses to synapses due to the switch sparseness between them as well as limitations of the used routing algorithm. Improved results are expected when using the newer mapping software [Müller et al., 2022].
Analysis of BrainScaleS routing architecture
We analyze the BrainScaleS architecture for uniform random networks based on our presented analytic and mapping studies: In general, the BrainScaleS wafer-scale hardware provides a high flexibility with regard to network architectures, which is possible by combining hardware neurons to larger logical neurons with many hardware synapses. See for example Figure 9 for the maximum recurrent uniform random networks possible depending on neuron size and connection probability. The synapse loss estimation revealed that, when the number of routing sources per HICANN exceeds the number of synapse drivers, synapse loss becomes unavoidable. While this is obvious for uniform random networks, it can also affect more structured networks as the Layer 2/3 model considered in [Petrovici et al., 2014]. The mapping study showed a much higher synapse loss at intermediate network sizes which can be attributed to the sparseness of the synapse driver switch matrices (only 1 out 8 possible switches exist in a very regular pattern). As mitigation, one could consider denser switch matrices (from which the signal quality of the 6-bit pulses may suffer) or different patterns for switch locations. Finally, the 2b/4b decoding of 6-bit addresses adds additional complexity for the HICANN synapse routing. We compared this to a HICANN architecture where all 6-bit addresses are decoded in the synapse allowing to achieve larger lossless networks as shown in Figure 7. We complement this with a synapse loss estimation in the appendix (Figure 14), showing significantly lower synapse loss for small connection probabilities (). The successor system BrainScaleS-2 [Pehle et al., 2022] has adopted a 6-bit decoding in the synapse. Note however that it has not been scaled to a wafer-scale system but instead multi-chip systems are built using FPGAs for inter-chip routing [Imlberger and Schemmerle, 2026].
Figure 14. Synapse loss approximation - Comparison of address decoding architectures. We compare the estimated synapse loss for the address decoding of the HICANN (2 bits per half synapse row, 4 bits per synapse) with a 6-bit decoder in the synapse like: For different connection probabilities and a fixed mapping scenario (64 neurons of size 8), the synapse loss is estimated depending on the number of source neurons per HICANN. Here, we assume 64 addresses per routing source and neglect hardware limitations (§ 2.5). The crosses mark the expected number of source neurons that can be implemented without synapse loss, as determined in Figure 7. The gray dashed lines (highlighted by the gray area underneath) denote the synapse loss due to the limited number of 224 synapse drivers per HICANN: Once there are more than 224 routing sources, all synapses are lost for the fraction of routing sources exceeding this limit.
Applications, limitations, related and future work
Applications of the developed methods. Our developed methods are useful in multiple ways for users and developers of the BrainScaleS system:
One can estimate the maximum network sizes for a given connection probability.
One can search for the optimal mapping scenario for a given uniform random network without running the mapping software.
The synapse loss estimation can act as benchmark for the mapping software, providing an estimate of how low the synapse loss can be for a given network and mapping setup. Note however that it is possible to achieve a lower synapse loss considering the actual synaptic connections of a network instance.
Our methods can be used for the design of next-generation hardware architectures for example to evaluate different address decoding schemes as in Figure 7 and Figure 14. Such studies could integrate the area overhead for more lines and SRAM cells in the synapse by reducing the number of synapse rows per HICANN.
Limitations Our approach has the following limitations:
Both maximum size estimation and synapse loss estimation do neither consider the inter-HICANN routing nor the vertical bus to synapse driver connection routing. Instead, it starts from the number of assigned drivers per routing source and assumes that there were no connections lost in the previous routing steps.
Both analytic approaches do not consider all hardware features that are supported by the software and hardware: For example, we neglect considering different short-term plasticity parameters per routing source, or different synapse weight ranges that requires to use different scaling factors per synapse row.
The synapse loss estimation does not account for variations of synapse gains of different routing sources, as discussed in § 3.2. As a result, the estimated synapse loss can be higher than the actual synapses loss if the mapping algorithms considers such variations.
The methods are only shown for uniform random networks based on the binomial distribution. In principle, one can replace the binomial distribution with other discrete probability distributions. In the context of neuro-scientific modeling, one can for example use a
FixedNumberPreConnectororFixedTotalNumberConnectorfrom PyNN [4].
Related and future work [15] develop principles to design hierarchical neuromorphic systems depending on the network connectivity to implement. They derive a formalism to describe generic, multi-level connectivity structures of neuromorphic systems with synapse matrices, similar to the multi-stage address decoding in the HICANN considered here. For different hardware configurations, they estimate the synapse loss for uniform random networks. This is very similar to our studies in § 3.2 using the methods from § 2.4. As we do, [15] combines the synapse loss from different levels of hierarchical connectivity. Our work estimates the synapse loss specifically for the BrainScaleS wafer considering many features (such as combining neuron circuits) and constraints (§ 2.5). Beyond that, our work provides the methodology for predicting maximum realizable networks without synapse loss and the comparison to actual mapping results. Future work could extend our methods to the generic, hierarchical connectivity structure from [15] and could consider other than uniform-random connectivity.
Our work estimates the synapse loss for given uniform random networks on the BrainScaleS wafer. However, taking the computational neuroscience perspective, network models should be mapped to neuromorphic hardware without any synapse loss, especially when performing parameter sweeps or trying to reproduce biological measurements. DarwinWafer [25] is a recent example that large-scale neuromorphic systems for neuroscience are not dead. Their paper shows differences between original and mapped connectivity of mouse and zebrafish brains, hence a measure of synapse loss. Our approach has the potential to further improve system-level design, while compensation methods for synapse loss from [Petrovici et al., 2014] can help to map functional brain models to neuromorphic substrates.
Beyond brain simulation, our approach can help design better multi-core neuromorphic systems for energy-efficient AI systems. Our methods are applicable to any hierarchical circuit-switched neuromorphic hardware architecture based on synapse crossbars, for both spiking and non-spiking architectures [23] (Moro et al. 2022). One could design architectures tailored to support certain classes of sparse or small-world connectivity [1]. Later, the AI models can be optimized/trained for a given routing and hardware architecture for best utilization of hardware resources [24].
Acknowledgments
The authors would like to thank Johannes Partzsch for feedback on an earlier version of this study. The work was funded by the EC Horizon 2020 Framework Programme under grant agreements 720270 (HBP SGA1), 785907 (HBP SGA2), 945539 (HBP SGA3) and Horizon Europe grant agreements 101147319 (EBRAINS 2.0).
Appendix
References
- [1]Billaudelle, S., Metzner, C., Weber, J., Su, Z., Wen, C., Liu, S., Kriener, L., Moro, F., Indiveri, G., and Payvand, M. (2026). Small-world communication fabrics for neuromorphic multicore-socs. arXiv preprint arXiv:2608.24351.arxiv.org/abs/2608.24351
- [2]Brette, R. and Gerstner, W. (2005). Adaptive exponential integrate-and-fire model as an effective description of neuronal activity. J. Neurophysiol., 94:3637 – 3642.
- [3]Brüderle, D., Petrovici, M. A., Vogginger, B., Ehrlich, M., Pfeil, T., Millner, S., Grübl, A., Wendt, K., Müller, E., Schwartz, M.-O., de Oliveira, D., Jeltsch, S., Fieres, J., Schilling, M., Müller, P., Breitwieser, O., Petkov, V., Muller, L., Davison, A., Krishnamurthy, P., Kremkow, J., Lundqvist, M., Muller, E., Partzsch, J., Scholze, S., Zühl, L., Mayr, C., Destexhe, A., Diesmann, M., Potjans, T., Lansner, A., Schüffny, R., Schemmel, J., and Meier, K. (2011). A comprehensive workflow for general-purpose neural modeling with highly configurable neuromorphic hardware systems. Biological Cybernetics, 104:263–296.
- [4]Davison, A., Brüderle, D., Eppler, J., Kremkow, J., Muller, E., Pecevski, D., Perrinet, L., and Yger, P. (2009). PyNN: a common interface for neuronal network simulators. Frontiers in Neuroinformatics, 2:11.DOI
- [5]Ehrlich, M., Wendt, K., Zühl, L., Schüffny, R., Brüderle, D., Müller, E., and Vogginger, B. (2010). A software framework for mapping neural networks to a wafer-scale neuromorphic hardware system. In ANNIIP, pages 43–52.DOI
- [6]Fieres, J., Schemmel, J., and Meier, K. (2008). Realizing biological spiking network models in a configurable wafer-scale hardware system. In Neural Networks, 2008. IJCNN 2008. (IEEE World Congress on Computational Intelligence). IEEE International Joint Conference on, pages 969–976. IEEE.DOI
- [8]Jeltsch, S. (2014). A Scalable Workflow for a Configurable Neuromorphic Platform. PhD thesis, Ruprecht-Karls-Universität Heidelberg.DOI
- [9]Koke, C. (2017). Device Variability in Synapses of Neuromorphic Circuits. PhD thesis, Ruprecht-Karls-Universität Heidelberg.DOI
- [10]Kononov, A. (2011). Testing of an analog neuromorphic network chip. Diploma thesis, Ruprecht-Karls-Universität Heidelberg. HD-KIP-11-83.
- [15][Partzsch and Schüffny, 2015] Partzsch, J. and Schüffny, R. (2015). Network-driven design principles for neuromorphic systems. Frontiers in neuroscience, 9.DOI
- [18][Potjans and Diesmann, 2014] Potjans, T. C. and Diesmann, M. (2014). The cell-type specific cortical microcircuit: relating structure and activity in a full-scale spiking network model. Cerebral Cortex, 24(3):785–806.
- [23]Wan, W., Kubendran, R., Schaefer, C., Eryilmaz, S. B., Zhang, W., Wu, D., Deiss, S., Raina, P., Qian, H., Gao, B., et al. (2022). A compute-in-memory chip based on resistive random-access memory. Nature, 608(7923):504–512.DOI
- [24]Weber, J., Ballet, T., and Payvand, M. (2025). Hardware architecture and routing-aware training for optimal memory usage: a case study. In 2025 Neuro Inspired Computational Elements (NICE), pages 1–5.
- [25]Zhu, X., Jin, X., Kang, Z., Sun, C., Feng, J., Hu, D., Wang, Z., Zhuang, H., Zheng, Q., Tang, H., Gu, S., Du, X., Ma, D., and Pan, G. (2025). Darwinwafer: A wafer-scale neuromorphic chip.arxiv.org/abs/2509.16213












