I took a signal sum[8:0] in my code. Further, I need only sum[8] in my code (M.S.B of sum). So I used the statement assign sum[7:0]=0;
It gave me the following WARNING after synthesis:
WARNING:Xst:646 - Signal < sum<7:0>> is assigned but never used. This unconnected signal will be trimmed during the optimization process.
Should I worry about it or ignore it?
sum = a + band the value8'h7fand8'h1for a, b. See: How to truncate bits – artless noise Jun 28 '23 at 17:17