// // This file is part of an OMNeT++/OMNEST simulation example. // // Copyright (C) 2003-2008 Andras Varga // // This file is distributed WITHOUT ANY WARRANTY. See the file // `license' for details on this and other legal matters. // simple Txc3 { parameters: @display("i=block/routing"); gates: input in; output out; } // // Same as Tictoc2. // network Tictoc3 { submodules: tic: Txc3 { parameters: @display("i=,cyan"); } toc: Txc3 { parameters: @display("i=,gold"); } connections: tic.out --> { delay = 100ms; } --> toc.in; tic.in <-- { delay = 100ms; } <-- toc.out; }