tictoc5.ned

来自「OMNeT++经典教程实例 配套OMNeT++官方网站Tutorial」· NED 代码 · 共 31 行

NED
31
字号
//
// This file is part of an OMNeT++/OMNEST simulation example.
//
// Copyright (C) 2003-2005 Andras Varga
//
// This file is distributed WITHOUT ANY WARRANTY. See the file
// `license' for details on this and other legal matters.
//


simple Txc5
    gates:
        in: in;
        out: out;
endsimple

module Tictoc5
    submodules:
        tic: Txc5;
            display: "i=block/process,cyan";
        toc: Txc5;
            display: "i=block/process,gold";
    connections:
        tic.out --> delay 100ms --> toc.in;
        tic.in <-- delay 100ms <-- toc.out;
endmodule

network tictoc5 : Tictoc5
endnetwork

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?