Name | Type | Description |
---|---|---|
Unit1 | compound module |
unit1: configuration in unit1.ini. |
// // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with this program. If not, see http://www.gnu.org/licenses/. // package ttethernet.examples.small_network; import ttethernet.nodes.ethernet.TTEEtherHost; import ttethernet.ctc.TTIncoming; import ttethernet.buffer.TTDoubleBuffer; // // unit1: configuration in unit1.ini. // // - Sends time-triggered messages at 1ms with VL-ID 100 // module Unit1 extends TTEEtherHost { submodules: vl_100_ctc: TTIncoming { parameters: @display("p=349,60"); } vl_100: TTDoubleBuffer { parameters: @display("p=439,61"); } connections: vl_100_ctc.out --> vl_100.in; }