mbeddr.core icon indicating copy to clipboard operation
mbeddr.core copied to clipboard

Replace table by simple variable in case of only one required port is connected

Open mohamedaminebennasr opened this issue 6 years ago • 0 comments

With MPS version 2018.2.5, when we create required port with multiplicity > 0 and we have only one port connected, the generator generates all port even if is not connected, as consequence the size of code will increase. As optimization, the generator can detect when is only one port is connected and in this case , replace the table by simple variable.

mohamedaminebennasr avatar Dec 02 '18 20:12 mohamedaminebennasr