> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/efpgasim-library/simulink-sps-workflow/left-side-stubline.md).

# Left Side Stubline

## Description

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-e671ca20fa1904f8b2e8baa2ad8826375792dc2e%2Fehs-left-stubline-block.png?alt=media" alt=""><figcaption></figcaption></figure>

The **Left Side Stubline** block, located in the **eFPGAsim/External circuit editor workflow/Lines and Loads** library, processes the necessary measurements and source signals required for model decoupling through a stubline. Each left-side block must be connected to its corresponding right-side block.

## Mask parameters

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-59257620c8d29e5539fdd65f7caf58b5ae136def%2Fehs-left-stubline-mask.png?alt=media" alt="" width="392"><figcaption></figcaption></figure>

| Parameter                  | Description                                                                                                                                                                                                                                                                                                           |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **eHS sampling time**      | This is set to the same sampling time than eHS. In case of multirate simulation, the larger sampling time should be used.                                                                                                                                                                                             |
| **Back and forth latency** | This is the required time for a measurement to be sent from the first stubline segment to the second one, and from the second stubline segment back to the first one. This should be calculated experimentaly since it may vary depending of the circuit size, desired sampling time, and if one or two eHS are used. |
| **Component type**         | This is used to choose if the stubline segment should be an inductor or a capacitor.                                                                                                                                                                                                                                  |
| **Component value**        | This is component value in SI.                                                                                                                                                                                                                                                                                        |

## Inputs

The input is used to see the impact of the stubline in the circuit. It does not require to be connected to work in real-time. In real-time, stubline segment input needs to be configured with [eHS configure inputs](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/efpgasim-library/simulink-sps-workflow/ehs-cpu-block.md). In offline, the input should be connected to the output of an other stubline segment. The sum of the delay between the two segment should be equal to the value set in the mask.

## Outputs

The output is used to see the impact of the stubline in the circuit. It does not require to be connected to work in real-time. In real-time, stubline segment needs to be configured with [CPU stubline configuration](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/efpgasim-library/simulink-sps-workflow/stubline-configuration.md). In offline, the output should be connected to the input of an other stubline segment. The sum of the delay between the two segment should be equal to the value set in the mask.

## Characteristics and limitations

| Direct Feedthrough   | YES |
| -------------------- | --- |
| Discrete sample time | YES |
| XHP support          | N/A |
| Work offline         | YES |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/efpgasim-library/simulink-sps-workflow/left-side-stubline.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
