INTERCONNECT
Interconnect treats each device as a black box represented by its ports and uses the connections between devices to simulate signal propagation through circuits composed of optical and electrical devices. Its three solvers are the S-Parameter (SP) solver for frequency-domain analysis and the Transient Sample Mode (TSM) and Transient Block Mode (TBM) solvers for time-domain analysis.
Basic Principles of Interconnect
Interconnect solves for signals at device ports, combining device models and port connections to calculate the overall response of an interconnected optical and electrical circuit. Device models describe transmission, reflection, and mode coupling between ports, while the connections define how signals pass between devices. Together, they describe effects such as propagation loss, interference, resonance, and feedback.
Time-domain optical signals use a complex-envelope representation that separates the optical carrier from the time-varying amplitude and phase. For a single optical mode, the power-normalized equivalent real field and optical power are written as
Here, is the carrier frequency, is the complex envelope, and is the optical-cycle-averaged power. The solver calculates changes in the envelope and uses the carrier frequency to determine the band in which device responses are evaluated, without resolving every optical carrier cycle. SP solves the coupled circuit equations at each frequency for the steady-state response; TSM and TBM calculate time-domain propagation using individual samples and waveform blocks, respectively.
(1) S-Parameter (SP) Simulator
The SP simulator combines the device scattering matrices with the port connections to calculate the frequency response of the circuit at a given operating state.
A device’s scattering matrix relates the incident and outgoing waves at its ports. A single-mode port has one channel, and a multimode port has one channel per mode. For a device with port-mode channels, the scattering relation can be expanded as
Here, is the incident complex amplitude on channel , is the outgoing complex amplitude on channel , and gives the complex-amplitude response from channel to channel . Each row corresponds to an output channel and each column to an input channel. A signal returning through the same port is reflected, while a signal leaving through a different port is transmitted. Coupling between modes is represented by the corresponding matrix entries; entries between uncoupled channels are zero.
contains both amplitude and phase changes. When only input channel is excited and the channels use the same power-normalization convention, is the amplitude ratio and is the corresponding output-to-input power ratio. The phase determines the interference between signals arriving along different paths at the same output channel.
The figure below illustrates a single-mode port connection between two devices: the outgoing wave at either port becomes the incident wave at the other.

Arranging the scattering matrices of the devices in channel order gives the global block-diagonal matrix
Here, is the scattering matrix of device . If this device has channels, the global matrix has order , with channels grouped by device. Interactions between devices are introduced through the connection matrix , whose nonzero entries map outgoing waves to incident waves on connected channels. Collecting all device incident and outgoing complex amplitudes into vectors and in the same order, with external excitation , gives the circuit equations
Here, is the identity matrix. After eliminating the outgoing field , the solver solves the linear system in the last line at each frequency and then calculates the outgoing port fields. The coefficient matrix combines the device responses and connections, so reflections and loop feedback are included in the same system of equations.
For a circuit with a loop that admits a steady-state response, the solution includes the coherent sum of direct light and light returning after multiple round trips. The relative phases of the propagation paths vary with frequency, producing interference fringes or resonance peaks and dips in the transmission and reflection spectra. The SP solver calculates the steady-state frequency dependence of these effects, while time-domain solvers analyze signal arrival times and the buildup and decay of the response.
(2) Transient Sample Mode Simulator (TSM)
TSM represents a continuous waveform as a sequence of samples and calculates signal propagation at successive sample times. It is suited to feedback circuits such as ring resonators. The output power waveform can reveal successive returns and decay of light circulating in a loop. Because TSM performs sample-by-sample calculations, extending the time window at a fixed sample rate increases the computational work.
For a device with delay or filtering, an output sample can include the effects of earlier inputs. Each new sample calculation updates the retained signal history for later calculations. As a result, even after the current input becomes zero, a signal that entered the device earlier can still appear at the output as a delayed pulse or a decaying tail.
For uniform sampling of the complex envelope, the sample rate , sampling interval , and record duration satisfy the following relations. With the record starting at , the sampling times of samples are denoted by .
The difference between the signal-processing units of TSM and TBM is illustrated below: TSM processes one sample at a time, while TBM processes a waveform block containing multiple consecutive samples.

The solver uses the amplitude and phase information in the complex envelope to sum coherent light contributions in the same output channel as complex amplitudes, calculating the constructive or destructive interference caused by phase differences between propagation paths. The sample rate determines the waveform's time resolution and representable envelope frequency range, while the observation window determines the record duration. Higher sample rates resolve faster waveform changes, and longer windows reveal successive returns and decay of signals.
TSM uses finite impulse response (FIR) and infinite impulse response (IIR) digital filters to implement frequency-dependent device transmission characteristics in the time domain. For a linear device whose parameters do not change with time, the frequency response describes the amplitude and phase changes of each frequency component, while the impulse response describes the output caused by a unit impulse. For a single input-to-output channel, an FIR filter with taps spaced one sampling period apart computes its output through discrete convolution: a weighted sum of the current and earlier input samples.
Here, and are the input and output samples at index , is the coefficient of tap , and is the number of taps. The FIR filter uses these coefficients to form a weighted sum of the current input and the preceding input samples, producing the current output with an amplitude and phase response determined by the tap coefficients.
For an FIR model with port-mode channels, the contributions from all input channels can be expressed as a matrix convolution:
Here, describes the response from input channel to output channel after a delay of sampling periods. Each output is the sum of the convolution results from the input channels; the actual transmission, reflection, and mode coupling are determined by the device. The value is the maximum FIR response length across the channels, with the remaining coefficients of shorter responses set to zero. The terms include the input history required by the calculation; zero initial state corresponds to zero input history before the excitation begins.
An FIR filter directly forms a weighted sum of a finite number of input samples. An IIR filter also uses previous outputs or equivalent internal states recursively. With the constant denominator coefficient normalized to 1, a general IIR filter can be written as
Here, and are the feedforward and feedback coefficients as defined by this equation, and and are the corresponding orders. The second term brings previous outputs into the current calculation, allowing earlier inputs to continue influencing later outputs. This recursion takes place within the device model; circuit feedback is formed by the port connections between devices.
Representing a device response with a digital filter involves a trade-off between accuracy and computational work. A finite set of FIR taps retains only a finite impulse response; a longer response tail or a narrower spectral feature may require more taps for an accurate representation. Window functions adjust spectral ripple caused by finite truncation, but also change the shape of transition regions. More taps increase the work per sample and the storage needed for signal history.
Along a feed-forward path, the solver calculates each device's output in the order the signal propagates. The figure shows samples traveling in both directions between the connected ports of devices A and B. Here, and denote the th samples sent from A to B and from B to A, respectively. Orange dots mark the current sample in each waveform. The label “State / history” refers to the internal state or earlier samples that a device retains to calculate later outputs.

The single-bus ring shown below consists of a four-port coupler and a feedback waveguide, with part of the input light leaving through the through port and the remainder propagating around the waveguide back to the coupler. On each return, the solver calculates the fields coupled to the output and retained in the ring at that sample time, with the results at successive sample times describing the arrival of returning signals and their decay through waveguide loss and output coupling.

Under short-pulse excitation, TSM calculates the output optical field at each sample time; in the optical oscilloscope (OOSC) power waveform below, the first pulse corresponds to the direct light and subsequent pulses to light coupled out after successive round trips, with the spacing between returning pulses reflecting the round-trip time and their decreasing peak heights showing the decay of the returning signal.

(3) Transient Block Mode Simulator (TBM)
TBM calculates signal propagation one waveform block at a time: each device receives a whole block of the input waveform and produces the corresponding output block. A block contains all samples recorded over a time interval, preserving a pulse's rise, fall, and arrival time. For devices described by linear time-invariant frequency responses, the solver uses a fast Fourier transform (FFT) to transform the input block to the frequency domain, applies the device response at each frequency bin, and uses an inverse fast Fourier transform (IFFT) to obtain the time-domain output. TBM therefore produces time waveforms even though it uses frequency-domain calculations. The figure below shows a waveform block passing through two linear devices.

For a block of samples at sampling rate , the block duration and the discrete Fourier transform's frequency-bin spacing are related as follows.
At a fixed sample rate, increasing the sample count lengthens the time window and reduces the frequency-bin spacing. Increasing only the sample rate while keeping the sample count fixed instead shortens the window. An optical waveform block is also a complex envelope referenced to the carrier. Its transform gives frequency offsets from that carrier, called baseband frequencies. The solver adds the carrier frequency to each baseband frequency and calculates the device response at the corresponding optical frequency.
For a linear time-invariant device with port-mode channels on the same sampling grid, the frequency-domain multiplication shown in the figure expands to
Here, is the frequency-bin index, and are the spectral values on input channel and output channel , and is the complex response between them. For a device described by scattering parameters, is the corresponding entry of the device scattering matrix evaluated at the physical frequency. The response matrix describes amplitude and phase transfer between channels, with each output spectrum obtained by summing the input spectra weighted by the corresponding matrix entries. The magnitudes and phases of these entries specify the amplitude and phase responses of the individual transfer paths, and the time-domain output obtained through the IFFT reflects their effects on signal amplitude, propagation delay, and pulse shape.
In a feed-forward circuit, TBM processes waveform blocks through successive devices in propagation order, using the frequency responses of linear time-invariant devices directly for block filtering to reduce sample-by-sample scheduling overhead, making it suited to analyzing long waveforms propagating through multiple stages.
In FFT-based block calculations, the waveform is periodically extended with a period equal to the time-window length, which determines both the duration of each block and the frequency-bin spacing. A longer window provides denser frequency sampling to resolve narrow resonance features and allows observation of signals with long propagation delays and their decay.
At a given sample rate, the number of samples per block determines the block duration and frequency-bin spacing, while the source output block count controls the number of waveform blocks supplied to the circuit. In a feedback circuit, returning blocks contribute to device calculations alongside subsequent inputs, updating the output response through successive block calculations so that increasing the source output block count allows analysis of the buildup and convergence of the feedback response.
Shown below is a Mach–Zehnder interferometer (MZI) circuit with a local feedback loop in its lower arm, with its transmission spectrum obtained using an optical network analyzer (ONA). A branch splits the input light between the two arms; a coupler and feedback waveguide form a local loop in the lower arm, where returning light combines coherently with the lower-arm input at the coupler before recombining with light from the upper-arm waveguide to produce an interference response influenced by feedback.

TBM results for 1, 6, 12, and 24 source output blocks are compared against the SP steady-state transmission spectrum of the same circuit, with denoting the source output block count in the legend.

In the figure, means that the source outputs a single waveform block, so TBM primarily gives the initial direct-transmission response at this stage; blocks returning around the loop must participate in subsequent whole-block calculations to progressively incorporate feedback into the spectrum, leaving the first-block result nearly flat. At and , returning blocks contribute to device calculations alongside subsequent input blocks, updating the feedback contributions and producing spectral peaks and dips with oscillations that have not yet converged. At , calculations involving more subsequent blocks bring the feedback response closer to a settled state, reduce the spectral oscillations, and move the spectrum toward the SP reference, which includes steady-state feedback.
Note that block processing requires storage for waveforms and spectra, and increasing the number of source output blocks adds computational work.
References
[1] Martin Fiers et al., "Time-domain and frequency-domain modeling of nonlinear optical components at the circuit-level using a node-based approach," Journal of the Optical Society of America B, 29, 896-900 (2012).
[2] Wim Bogaerts and Lukas Chrostowski, "Silicon Photonics Circuit Design: Methods, Tools and Challenges," Laser & Photonics Reviews, 12, 1700237 (2018).

