这个是 ned 代码 package tictocs;simple Txcs1{ gates: input in[]; output out[];}network Tictocs1{ submodules: t[4]:Txcs1; connections: t[0].out++ --> { delay = 100ms; } --> t[1].in++; t[0].in++ <-- { delay = 100ms; } <-- t[1].out++; t[0].out++ --> { delay = 100ms; } --> t[2].in++; t[0].in++ <-- { delay = 100ms; } <-- t[2].out++; t[0].out++ --> { delay = 100ms; } --> t[3].in++; t[0].in++ <-- { delay = 100ms; } <-- t[3].out++; t[1].out++ --> { delay = 100ms; } --> t[2].in++; t[1].in++ <-- { delay = 100ms; } <-- t[2].out++; t[1].out++ --> { delay = 100ms; } --> t[3].in++; t[1].in++ <-- { delay = 100ms; } <-- t[3].out++; t[2].out++ --> { delay = 100ms; } --> t[3].in++; t[2].in++ <-- { delay = 100ms; } <-- t[3].out++; }