Because sel is unsigned. Shalom For this expression - size is 4 (Table 29 in LRM 1364-2001), it is signed. Hence the evaluated value in binary becomes - 4'b1010. Extending the value with the size of 'sel' (size 6), it becomes 6'b111010 (signed extension). But contradictory to that most of the simulators treat it as 6'b001010. Why is so? --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Mon Mar 10 01:46:24 2008
This archive was generated by hypermail 2.1.8 : Mon Mar 10 2008 - 01:51:28 PDT