I have a basic problem of implimenting these.
Look at the following number:
11011.1100 (using the "." as a seperator)
as an Unsigned fixed number, this means 27.75
as a singed fixed point number, this means a negative 2s compliment
number.
as a floating point number, this is -1.75 * 2**4
I would propose that we put these into the fixed and floating
point packages. That way there will be no question on what
this means.
We do need a way to read and write reals, as long as they are
expressed as reals.
> 3)
>
> procedure HREAD (L: inout LINE; VALUE: out REAL; GOOD : out BOOLEAN);
> procedure HREAD (L: inout LINE; VALUE: out REAL);
> procedure HWRITE (L: inout LINE; VALUE: in REAL;
> JUSTIFIED: in SIDE := RIGHT; FIELD:in WIDTH := 0);
> procedure OREAD (L: inout LINE; VALUE: out REAL; GOOD : out BOOLEAN);
> procedure OREAD (L: inout LINE; VALUE: out REAL);
> procedure BREAD (L: inout LINE; VALUE: out REAL; GOOD : out BOOLEAN);
> procedure BREAD (L: inout LINE; VALUE: out REAL);
> procedure BWRITE (L: inout LINE; VALUE: in REAL;
> JUSTIFIED: in SIDE := RIGHT; FIELD:in WIDTH := 0);
> procedure DREAD (L: inout LINE; VALUE: out REAL; GOOD : out BOOLEAN);
> procedure DREAD (L: inout LINE; VALUE: out REAL);
> procedure DWRITE (L: inout LINE; VALUE: in REAL;
> JUSTIFIED: in SIDE := RIGHT; FIELD:in WIDTH := 0);
-- NAME: David W. Bishop INTERNET: dbishop@vhdl.orgReceived on Sun Jun 27 09:54:00 2004
This archive was generated by hypermail 2.1.8 : Sun Jun 27 2004 - 09:54:32 PDT