Re: [sv-bc] Type of a concat expression

From: Brad Pierce <brad_pierce@acm.org>
Date: Tue Jun 15 2010 - 00:05:58 PDT

> if (type(100 + 2'b11) == type (int)) // Will it match or not?

No, the left type reference is unsigned, and the right one is signed.

But remove signedness from the differences and the question is still
interesting

> if (type(100 + 2'sb11) == type (int)) // Will it match or not?

-- Brad

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Jun 15 00:06:47 2010

This archive was generated by hypermail 2.1.8 : Tue Jun 15 2010 - 00:09:38 PDT