mbeddr.core
mbeddr.core copied to clipboard
Replace table by simple variable in case of only one required port is connected
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.