Top Element
Top Element #
The top element is the top-most container in the schematic hierarchy. It contains all elements in the current design and carries global simulation settings that can be inherited by other elements, such as bitrate, time window, sample rate, and ambient temperature. It also has the hierarchical capability of a compound element and can serve as the top-most structure to organize ports and scripted parameters. Pre-simulation validation options are also set here.
Schematic #
Users can double-click an element in the element library to add it to the top element schematic and connect it. Hold the middle mouse button to move the top element schematic.

On the left are the schematic editing tools, including the following three categories:
- VIEW
| Name | Description |
|---|---|
| Select | Switch the mouse to selection mode, used to click-select or box-select elements in the schematic. |
| Pan | Switch to pan mode. Hold and drag the mouse to move the schematic canvas without changing the zoom ratio. |
| Fit All | Automatically zoom the view so that all elements in the schematic are exactly fully displayed in the current window. |
| Zoom In | Zoom in the view, increasing the canvas display ratio. |
| Zoom Out | Zoom out the view, decreasing the canvas display ratio. |
- EDIT
| Name | Description |
|---|---|
| Edit | Open the edit window of the selected element, where you can modify its name, ports, scripts, properties, and other configurations. |
| Create Compound | Merge the currently selected multiple elements into one compound element for hierarchical circuit organization. |
| Expand | Expand a compound element to display its internal sub-elements and internal connections, so as to view or modify the internal structure. |
- ALIGN
| Name | Description |
|---|---|
| Rotate | Rotate the selected element 90° around its center. |
| Horizontal Flip | Flip the selected element horizontally along the vertical axis. |
| Vertical Flip | Flip the selected element vertically along the horizontal axis. |
| Align Left | Align the selected multiple elements by the left edge of the leftmost element. |
| Align Right | Align the selected multiple elements by the right edge of the rightmost element. |
| Align H-Center | Align the selected multiple elements by the horizontal center line. |
| H-Distribute | Distribute the selected multiple elements evenly in the horizontal direction. |
| Align Top | Align the selected multiple elements by the top edge of the topmost element. |
| Align Bottom | Align the selected multiple elements by the bottom edge of the bottommost element. |
| Align V-Center | Align the selected multiple elements by the vertical center line. |
| V-Distribute | Distribute the selected multiple elements evenly in the vertical direction. |
Property Inheritance and Annotation #
The top element defines a set of global properties, and all elements under it can inherit these properties or break the inheritance relationship as needed. By default, all applicable elements automatically inherit the global properties of the top element. To select the properties to inherit, right-click the property, click "Inherit:", and then select the property to inherit from the list. Property inheritance can also be achieved by entering the property expression of the element. For detailed usage, see Property Expressions.
Clicking the Annotate button in the views (properties view, results view, and ports view) can annotate the corresponding information into the top element schematic.

Ports #
There are no fixed ports. The external ports of the top-level design are determined by the internal Relays.
Properties #
General #
Used to identify and manage the element itself, including name, annotation, enabled state, and display mode. This group of properties only affects the schematic presentation and does not change device behavior.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| name | Name of the element | TOP_1 | - | - |
| annotate | Whether to display the annotation | true | - | [true, false] |
| enabled | Whether to enable the element | true | - | [true, false] |
| type | Unique type identifier of the element | Top Element | - | - |
| description | Brief description of the element | The top-most element in the hierarchy of compound elements | - | - |
| prefix | Prefix of the element name | TOP | - | - |
| local path | Local path or working folder of the element | - | - | - |
Simulation #
Sets the global simulation parameters for the entire design. Other elements inherit these values by default.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| bitrate | Bitrate | 2.5e10 | bits/s | (0, +∞) |
| simulation input | Simulation input | time window | - | [time window, sequence length, sample rate] |
| samples per bit | Samples per bit | 64 | - | [1, 1e9], powers of 2 |
| sequence length | Sequence length | 128 | - | [1, 1e9], powers of 2 |
| time window | Time window | 5.12e-9 | s | (0, +∞) |
| sample rate | Sample rate | 1.6e12 | Hz | [0, +∞) |
| number of samples | Number of samples | 8192 | - | [1, 1e100] |
Simulation / Signal Mode #
Controls the signal generation mode of the simulation.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| output signal mode | Output signal mode | sample | - | [sample, block] |
| number of output signals | Number of output signals | 1 | - | [1, +∞) |
Simulation / Signal Mode / Sample #
Sets the optical carrier frequency range in sample mode.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| sample mode frequency band | Sample mode frequency band | automatic | - | [automatic, single] |
| sample mode center frequency | Sample mode center frequency | 193.1 | THz | (0, +∞) |
Thermal #
Sets the ambient temperature for the entire design. Other temperature-dependent properties inherit this value by default.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| temperature | Temperature | 300 | K | (-∞, +∞) |
Enhanced #
Controls how monitored data is saved and the simulation output format.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| monitor data | Monitor data option | save to disk | - | [save to disk, save to memory] |
| monitor buffer size | Monitor buffer size | 64 | - | [2, +∞) |
| animate simulation | Whether to play animation during simulation | false | - | [true, false] |
| animation delay | Delay between animation frames | 0.5 | s | [0, +∞) |
| simulation output | Simulation output | disable | - | [disable, csv, psf] |
Numerical #
Sets the parallel computing strategy and determines the number of threads used for simulation.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| multithreading | Multithreading strategy | user defined | - | [automatic, user defined] |
| number of threads | Number of custom computation threads | 4 | - | [1, +∞) |
Numerical / Digital Filter #
Sets the global tap upper limit and fixed delay of the digital filter for time-domain simulation.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| maximum number of fir taps | Upper limit of FIR taps | 4096 | - | [1, +∞) |
| filter delay | Filter delay | 0 | s | [0, +∞) |
Script #
Controls when the schematic script runs.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| run setup script | Whether to run the Setup script | automatic | - | [automatic, always] |
Design Kit #
Records design kit and version information, used to identify the source and version of elements.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| version | Version number | - | - | - |
| internal electrical equivalent | Whether to use the internal electrical equivalent model | true | - | [true, false] |
Design Kit / Header #
Records the header information of the design kit for identification by scripts and process kits.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| component id | Component identifier ID | - | - | - |
| mcs filename | List file of the process design kit name and its parameters | - | - | - |
| mcs | Name of the process design kit | - | - | - |
Validation #
Sets the pre-simulation check items, used to detect connection, sample rate, and deadlock issues in advance.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| check internal monitors | Whether to check internal monitors of compound elements | true | - | [true, false] |
| check disconnected ports | Whether to check unconnected ports and Relay connections | false | - | [true, false] |
| check analyzer sensitivity | Whether to check analyzer sensitivity | false | - | [true, false] |
| check input sample rate | Whether to check whether the sample rates of all input ports are consistent | true | - | [true, false] |
| source connections | Source connection check strategy | resolve | - | [resolve, test, ignore] |
| deadlock resolution | Simulation deadlock handling strategy | prevent | - | [ignore, prevent] |
| delay insertion | Port range for automatic delay insertion | bidirectional ports | - | [output ports, bidirectional ports] |
Results #
After each simulation, the total elapsed time of this calculation is written to the Result panel:
![]()
| Name | Description |
|---|---|
| total elapsed time | Total elapsed time after this simulation, in seconds. |

