OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000113OMNeT++IDE / NED editorpublic2009-10-21 13:272011-05-20 10:15
Assigned To 
PlatformOSOS Version
Product Version4.0 
Target VersionFixed in Version 
Summary0000113: Connection chooser always offers gate[0] and not the first free gate
DescriptionNED 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 {
        m11: M1;
        m12: M1;
            gates: g[5];
            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 InformationSuggested workaround: use g++ and automatic gate size instead.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
andras (administrator)
2009-10-21 13:29

Solution can be nontrivial when "for" loops and/or conditional connections are involved.

- Issue History
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
Powered by Mantis Bugtracker