> 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/pe-add-on-opal-rt/model-in-schematic-editor/configure-the-ehs-circuit-interfaces/configure-source-inputs.md).

# Configure Source Inputs

## Interface source blocks

**Source** blocks can operate using:

* Internally defined parameters
* Values provided by <code class="expression">space.vars.cpu\_model\_veristand</code>

Click the arrow next to the parameter input to open the **Deep Panel**. For parameter values that can be provided by <code class="expression">space.vars.cpu\_model\_veristand</code>, the following option will be available:

* **FROM VERISTAND** (when eHS is used with VERISTAND)

When enabled, the parameter value is provided by <code class="expression">space.vars.cpu\_model\_veristand</code>, instead of being defined directly in the circuit model. To revert to a user-defined value in Schematic Editor, select **SOURCES**.

## Interface controlled source blocks <a href="#heading-title-text" id="heading-title-text"></a>

**Controlled Source** blocks are fully driven by external inputs. **Depending on the selected firmware**, these inputs can originate from:

* <code class="expression">space.vars.cpu\_model\_veristand</code>
* Physical analog input channels
* SFP links

To select the external input:

1. Click the parameter input to open the **Deep Panel**. By default, the parameter value is provided by <code class="expression">space.vars.cpu\_model\_veristand</code>.

2. Click the **+** icon below **SOURCES** to reveal the additional options. Select **AI (Analog Input)** or **SFP (SFP Input)** to add the source.

3. Multiple sources can be configured, but **only one can be active at a time**. To remove a source, hover over it and click the **trash** icon that appears.

4. Configure the source using its available parameters. For **AI (Analog Input)**, select the I/O module and channel (**Pin**) that will drive the source. You can also configure a **Gain**, **Offset**, and **Min/Max** thresholds. For **SFP (SFP Input)**, select the channel and data number (**Pin**) used to drive the source.

To revert to a value provided by Veristand, select **FROM VERISTAND**.


---

# 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/pe-add-on-opal-rt/model-in-schematic-editor/configure-the-ehs-circuit-interfaces/configure-source-inputs.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.
