//// This file is part of an OMNeT++/OMNEST simulation example.//// Copyright (C) 2003-2015 Andras Varga//// This file is distributed WITHOUT ANY WARRANTY. See the file// `license' for details on this and other legal matters.//simple Txc12{ parameters: @display("i=block/routing"); gates: inout gate[]; // declare two way connections}// using two way connections to further simplify the network definitionnetwork Tictoc12{ types: channel Channel extends ned.DelayChannel { delay = 100ms; } submodules: tic[6]: Txc12; connections: tic[0].gate++ <--> Channel <--> tic[1].gate++; tic[1].gate++ <--> Channel <--> tic[2].gate++; tic[1].gate++ <--> Channel <--> tic[4].gate++; tic[3].gate++ <--> Channel <--> tic[4].gate++; tic[4].gate++ <--> Channel <--> tic[5].gate++;}