Anonymous | Login | 2022-06-26 03:04 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000113 | OMNeT++ | IDE / NED editor | public | 2009-10-21 13:27 | 2011-05-20 10:15 | ||||
Reporter | andras | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | postponed | Resolution | suspended | ||||||
Platform | OS | OS Version | |||||||
Product Version | 4.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000113: Connection chooser always offers gate[0] and not the first free gate | ||||||||
Description | NED editor connection drawer does not work well, the index of the gate does not increased. If the size of the gates was specified, as in the following case: module M1 { gates: inout g[5]; } module M2 { gates: inout g[]; } module CM { submodules: m11: M1; m12: M1; m21:M2{ gates: g[5]; } m22:M2{ gates: g[5]; } } If we use the connection drawer of the IDE, only g[0] will be used. The following codes are generated by the IDE: m12.g[0] <--> m22.g[0]; m22.g[0] <--> m21.g[0]; m21.g[0] <--> m11.g[0]; m11.g[0] <--> m12.g[0]; | ||||||||
Additional Information | Suggested workaround: use g++ and automatic gate size instead. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0000188) andras (administrator) 2009-10-21 13:29 |
Solution can be nontrivial when "for" loops and/or conditional connections are involved. |
![]() |
|||
Date Modified | Username | Field | Change |
2009-10-21 13:27 | andras | New Issue | |
2009-10-21 13:29 | andras | Note Added: 0000188 | |
2011-05-20 10:15 | rhornig | Status | new => postponed |
2011-05-20 10:15 | rhornig | Resolution | open => suspended |
Copyright © 2000 - 2022 MantisBT Team |