Re: BTF - B19- Cadence signed arithmetic proposal

From: Adam Krolnik (adamk@cyrix.com)
Date: Thu Sep 25 1997 - 02:23:23 PDT


A couple of questions regarding signed arithmetic.

1. What are the values of this register? 0 and 1, or 0 and -1?

reg signed a;

It says "signed" so shouldn't it be 0 and -1?

<p>2. If I take a bit select, part select or concatenation, how can I
make it signed? Is this what the $signed() operator is for?

3. How does one control sign extension? If I get it automatically, what can
I do to not get sign extension.

4. Arithmetic shift left seems redundant, what is the need?

<p> Adam Krolnik
        Verification Engineer
        Cyrix, Corp.
        Richardson TX. 75083



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:42 PDT and
sponsored by Boyd Technology, Inc.