tictoc13.ned
来自「这是一个基于OMNeT++的仿真模型,编程语采用C」· NED 代码 · 共 51 行
NED
51 行
//// This file is part of an OMNeT++/OMNEST simulation example.//// Copyright (C) 2003-2004 Andras Varga//// This file is distributed WITHOUT ANY WARRANTY. See the file// `license' for details on this and other legal matters.//// $Id: tictoc13.ned,v 1.1 2005/09/28 23:58:04 ahmet Exp $simple Txc13 parameters: route0: numeric, route1: numeric, route2: numeric, route3: numeric, route4: numeric, route5: numeric; gates: in: in[]; out: out[];endsimple//// Same as Tictoc11.//module Tictoc13 submodules: tic: Txc13[6]; // we'll have 6 Txc modules display: "i=device/pc3,#a0a0a0"; connections: tic[0].out++ --> delay 100ms --> tic[1].in++; tic[0].in++ <-- delay 100ms <-- tic[1].out++; tic[1].out++ --> delay 100ms --> tic[2].in++; tic[1].in++ <-- delay 100ms <-- tic[2].out++; tic[1].out++ --> delay 100ms --> tic[4].in++; tic[1].in++ <-- delay 100ms <-- tic[4].out++; tic[3].out++ --> delay 100ms --> tic[4].in++; tic[3].in++ <-- delay 100ms <-- tic[4].out++; tic[4].out++ --> delay 100ms --> tic[5].in++; tic[4].in++ <-- delay 100ms <-- tic[5].out++;endmodulenetwork tictoc13 : Tictoc13endnetwork
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?