> 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/ehs/model-in-schematic-editor/library-blocks-reference/line-blocks/half-line-fpga-to-fpga.md).

# Half Line FPGA to FPGA

## Description

<figure><img src="https://3212678799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABuoXNYgvaoO7wIe3bfO%2Fuploads%2Fgit-blob-030c6ad8165ad877cc317a9295b2a6eb2b16779f%2FSE_halfline_FPGA_to_FPGA_block.png?alt=media" alt=""><figcaption></figcaption></figure>

The **Half Line FPGA to FPGA** block models a decoupling point between two FPGAs by representing the line characteristics and communication latency. Depending on the selected line type, the corresponding inductance or capacitance must be specified.

Half Line FPGA-to-FPGA blocks must be used in pairs, with one block placed in each eHS circuit model. Both blocks must be configured with identical parameters, including the line type, inductance or capacitance, and latency. Connect the **SFP output** of each block to the **SFP input** of its counterpart, then connect the two FPGAs using SFP cables.

{% hint style="info" %}
This block is only available in the eHS library.
{% endhint %}

### Inductive type

When an inductor is replaced, the Half‑Line FPGA‑to‑FPGA block effectively behaves as a series inductance. The first port of the half‑line block is connected to one side of the inductance, while the second port can be connected to ground. The corresponding half‑line block mirrors this configuration, with its second port connected to the opposite side of the inductance. The inductance value of each half‑line block is equal to the value of the original inductor.

{% columns %}
{% column width="50%" %}

<figure><img src="https://3212678799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABuoXNYgvaoO7wIe3bfO%2Fuploads%2Fgit-blob-ab6d832d5aa852bbea81867ccea52ebc267c6444%2FSE_inductive_decoupling.png?alt=media" alt=""><figcaption><p>Basic circuit with an inductor</p></figcaption></figure>
{% endcolumn %}

{% column width="50%" %}

<figure><img src="https://3212678799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABuoXNYgvaoO7wIe3bfO%2Fuploads%2Fgit-blob-f6e4b880fdfa8fe340b3b1f1428815c0410ac746%2FSE_inductive_halfline.png?alt=media" alt=""><figcaption><p>Basic circuit with the inductor replaced by half lines</p></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### Capacitive type

When replacing a capacitor, the half‑line block behaves as a parallel capacitor. The half‑line block is connected in the same configuration as the original capacitor. The corresponding half‑line block mirrors this connection. The capacitance value of each half‑line block is equal to the value of the original capacitor.

{% columns %}
{% column width="50%" %}

<figure><img src="https://3212678799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABuoXNYgvaoO7wIe3bfO%2Fuploads%2Fgit-blob-8dc1514589f3a5319c8106c826ac119780bdadde%2FSE_capacitor_decoupling.png?alt=media" alt=""><figcaption><p>Basic circuit with a capacitor</p></figcaption></figure>
{% endcolumn %}

{% column width="50%" %}

<figure><img src="https://3212678799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABuoXNYgvaoO7wIe3bfO%2Fuploads%2Fgit-blob-847ef1b5f629b0c13bb2ccf396f693b5d61ee663%2FSE_capacitive_halfline.png?alt=media" alt=""><figcaption><p>Basic circuit with the capacitor replaced by half lines</p></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

## Parameters

<figure><img src="https://3212678799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FABuoXNYgvaoO7wIe3bfO%2Fuploads%2Fgit-blob-44680d342f51494e4f0a42ec16427497449741c4%2FSE_halfline_FPGA_to_FPGA_param.png?alt=media" alt=""><figcaption></figcaption></figure>

| Parameter                                      | Description                                                                                                                                                    | Sets feature | I/O & monitoring |
| ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ---------------- |
| **Type**                                       | Conductance type of the half line.                                                                                                                             | No           | N/A              |
| **Inductance L**<sub>**s**</sub>**&#x20;(H)**  | <p><em>Available only when Type is set to Inductive.</em><br>Inductance value of the half line.</p>                                                            | No           | N/A              |
| **Capacitance C**<sub>**s**</sub>**&#x20;(F)** | <p><em>Available only when Type is set to Capacitive.</em><br>Capacitance value of the half line.</p>                                                          | No           | N/A              |
| **De-coupling latency (s)**                    | Latency between the two FPGAs. The value has to be set manually.                                                                                               | No           | N/A              |
| **SFP**<sub>**in**</sub>                       | <p>SFP port connection for the input measurement of the line.<br>This port should be connected to the output port of the other matching half line on FPGA.</p> | N/A          | From SFP         |
| **SFP**<sub>**out**</sub>                      | <p>SFP port connection for the output measurement of the line.<br>This port should be connected to the input port of the other matching half line on FPGA.</p> | N/A          | To SFP           |

## Conserving ports

| Port   | Description                               |
| ------ | ----------------------------------------- |
| **p1** | Phase terminal on side 1 of the half line |
| **p2** | Phase terminal on side 2 of the half line |

## Limitation

Unlike the **Half Line FPGA to CPU** block, the **Half Line FPGA to FPGA** block does not support automatic calculation of the **decoupling latency**. This parameter must be specified manually.

As a starting point, use:

* **1.5 μs + 3 × FPGA time step** when both FPGAs use the same time step.
* **1.5 μs + 2 × larger FPGA time step + smaller FPGA time step** when the FPGAs use different time steps.


---

# 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/ehs/model-in-schematic-editor/library-blocks-reference/line-blocks/half-line-fpga-to-fpga.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.
