Forum Discussion

MR23's avatar
MR23
Icon for New Contributor rankNew Contributor
2 years ago
Solved

Width mismatch error

Hi there, I am trying to add four 8-bit adder to create a 32-bit adder. As you can see, I am having issues as A[7..0] is going to A[31..0]. Same error for B input. However, I am not getting any erro...
  • ShengN_altera's avatar
    2 years ago

    Hi,

    Same thing have to be done on A, B like the Sum. For the bus line from A[7..0] and B[7..0], have to Right-click -> properties -> Give name like A[7..0], A[15..8], A[23..16], A[31..24] for each inst. Same things goes for B.

    Thanks,

    Best Regards,

    Sheng

    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.