Subsystem Output Gate — Private/Subsystem Components
Private/Subsystem_Components/Subsystem_Output_Gate · 1 input / 0 output port(s) at insert · exports to Python, MATLAB, Java, Rust, C, C++, VHDL, Verilog, SystemVerilog, PLC Structured Text
Description#
The block's own DESCRIPTION_HTML, rendered verbatim — the same text the config dialog's info panel and the library navigator show. Fix a wrong sentence in the block's .cpp (R-D9), never here.
Subsystem Output Gate
Subsystem Components
Sends a signal out of a subsystem. Placing one inside a subsystem adds an output port to the subsystem block on the level above; whatever is wired in here leaves through that port.
Ports
- Inputs – one by default, and the count is user-editable. Each one is paired with a port on the subsystem block outside, and hands its signal size to that side.
Parameters
- Output when disabled – read only in an enabled, triggered or resettable subsystem, on the steps it does not run: held (default) keeps the last value; reset writes the Initial output.
- Initial output – what the port reads before the subsystem first
runs, and while it is disabled under reset.
[](default) is zero; a scalar fills every element. - Unit – the physical unit of the signal leaving here, as Simulink's
Outport has it: inherit (default) passes on the unit the signal arrives with; any
other text (
m,rad/s) assigns that unit to the subsystem's output port outside and to every wire it reaches. A signal arriving in a different unit of the same quantity is converted here, as Simulink's automatic unit conversion does at an Outport too (marriving wherecmis set leaves as 300 for 3), and the run says so; a unit of another quantity, or one not in ICore's unit table, passes unconverted with a warning. The model settings unitsInconsistencyMessage and automaticUnitConversions turn the warnings and the conversion off. The text is not checked against a unit list – Simulink keeps an undefined unit as written too. Code export carries the conversion in all ten targets.
Notes
- The pairing is what makes the gate work: an unpaired gate has nothing outside to write to, and the run stops with the block's path.
- The gate itself computes nothing – it forwards. Sizes propagate outward through it, so the subsystem block's output ports size themselves from the diagram inside.
Code export
All ten targets: Python, MATLAB, Java, Rust, C, C++, VHDL, Verilog, SystemVerilog and PLC Structured Text. On the top-level subsystem the gates are what become the generated core's outputs; deeper down they are plain signal forwarding. Order matters: a core's outputs are matched by gate creation order, not by name – the same rule the parity rigs follow.
Simulink bridge
Handled structurally, not through the block catalog. The bridge rebuilds subsystem boundaries on the far side rather than mapping this block to a library primitive, which is why it carries no parameter mapping.
Code facts#
| Fact | Value |
|---|---|
| registered type | Private/Subsystem_Components/Subsystem_Output_Gate |
| family | Private/Subsystem_Components |
| solver environment class | ICoreBlock_0_Private_1_Subsystem_Components_2_Subsystem_Output_Gate |
| source | src/ICoreBlocks/ICoreBlockLibrary/Blocks/Private/Subsystem_Components/Subsystem_Output_Gate/ICoreBlock_0_Private_1_Subsystem_Components_2_Subsystem_Output_Gate.cpp |
| header | src/ICoreBlocks/ICoreBlockLibrary/Blocks/Private/Subsystem_Components/Subsystem_Output_Gate/ICoreBlock_0_Private_1_Subsystem_Components_2_Subsystem_Output_Gate.h |
| default size on canvas | 120 × 40 px |
| ports at insert | 1 in, 0 out |
| code generators implemented | Python, MATLAB, Java, Rust, C, C++, VHDL, Verilog, SystemVerilog, PLC Structured Text |
Ports#
| # | Direction | Signal type | Description label |
|---|---|---|---|
| 1 | in | ICoreDouble | — |
Ports the constructor creates. A block whose port list changes with its configuration adds or removes ports at load time; the count above is the one a freshly inserted block has.
Configuration variables#
| Config variable | Default | Simulink parameter |
|---|---|---|
Output when disabled | held%~%reset~~held | — |
Initial output | [] | — |
Unit | inherit | — |
Every block also carries Sampling Time (s) from ICoreBlockSolverEnvironment: zero or less inherits the solver's rate, a positive value runs the block at that period.
Simulink bridge#
| support | Support::None |
| Simulink path | — |
| port-count rule | PortsParam::None |
SampleTime parameter | yes |
Caveat (shown to the user): handled structurally by the bridge, not via the catalog
Catalog contract: src/ICoreBlocks/ICoreCoder/ICoreCommandSystem/SimulinkBridge/ICoreSimulinkBlockCatalog.h
Description vs code#
tools/docs/check_block_descriptions.py(P7.1) could not be run when this page was generated, so no verdict is shown. Run it yourself; a page cannot claim an agreement it did not measure.
The verdict above is
tools/docs/check_block_descriptions.py(P7.1), which compares LISTS. It cannot read a sentence: "stateless" on a block with a state, an initial-value semantic the recursion does not implement, a "not synthesizable" caveat the HDL banner contradicts. That is the agent audit (P7.3) on BLOCK_DESCRIPTION_AUDIT.md, and this tool's green is not a substitute for one.
Sample results#
No sample run is committed for this block. Samples come from the headless harness (DOCS_PLAN.md P8.1) into docs/generated/samples/; until one exists this block's behaviour is witnessed by the parity and export-verification suites, not by a plot here.