Menu

#90 Update port list of instantiated modules

open
nobody
None
5
2014-12-06
2014-07-02
No

If module port definition is changed, port list of instantiated module should be able to auto update. For example with the use of quick fix.


module FF (
input C,
input D,
input CE, // <- New port added after module is instantiated
output Q);
endmodule



FF FF_1 (
.C(C),
.D(D),
.CE(/* new */), // <- updated port list after using quick fix on port list
.Q(Q));

Discussion

  • thomas0774

    thomas0774 - 2014-12-06

    I would like to second the request of the OP. (I do not see how to link above relates to the request - maybe it has changed in the meantime?)

    It often happens that an additional port is added to a module later during design. Then it is cumbersome to find all the instances of the module and update them manually.

    To further extended the idea:
    It would be perfect if there a dialog appears that asks:

    • if you want to perform the operation on all instances of the module in the project
    • if / what kind of default value you want to use (in above example this could be 1'b1 -> CE is set and the FF behaves the same as before, and at situations where the clock enable is required it can be manually changed to the correct connection)
     

Log in to post a comment.

MongoDB Logo MongoDB