5

I'm developing an 8-input digital multiplexer in Simulink and created a subsystem which implements a multiplexer operation with 3 enable inputs.

I would like to display the input channels (I0-I7) on the left of the subsystem block, the 3 enable inputs (S0-S2) on the bottom of the subsystem block, and the output port on the right of the subsystem block, like this:

           --------------
          |              |
  I0----> |              |
  I1----> |              |
  I2----> |              |
  I3----> |              |------>X
  I4----> |              |
  I5----> |              |
  I6----> |              |
  I7----> |              |
           --------------
              ^   ^   ^
              |   |   |
              S0  S1  S2

However, in Simulink the block is always displayed with all the input ports on one side and all the output ports on the opposite side.

Does anyone have any ideas for how I can display input ports on more than one side? Having all my input ports on one side makes it harder to visually distinguish them.

gnovice
  • 123,396
  • 14
  • 248
  • 352
Kiran
  • 6,858
  • 30
  • 95
  • 156

1 Answers1

0

One option is to use a Mux (or perhaps a bus) signal to collect the input channels into just one input. With fewer inputs, it will be easier to distinguish them if they are all on the same side. Also, don't forget to label your input ports.

gnovice
  • 123,396
  • 14
  • 248
  • 352