OpenCores
URL https://opencores.org/ocsvn/ft816float/ft816float/trunk

Subversion Repositories ft816float

[/] [ft816float/] [trunk/] [rtl/] [verilog/] [F32ToF80.v] - Diff between revs 16 and 26

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 16 Rev 26
Line 45... Line 45...
cntlz32 u2 ({mani,9'b111111111}, lz);   // '1' bit already unhidden due to denormalized number
cntlz32 u2 ({mani,9'b111111111}, lz);   // '1' bit already unhidden due to denormalized number
 
 
always @*
always @*
begin
begin
  // sign out always just = sign in
  // sign out always just = sign in
  signo = signi;
  signo <= signi;
 
 
  // special check for zero
  // special check for zero
  if (vz) begin
  if (vz) begin
    expo <= 0;
    expo <= 1'd0;
    mano <= 0;
    mano <= 1'd0;
  end
  end
  // convert infinity / nan
  // convert infinity / nan
  // infinity in = infinity out
  // infinity in = infinity out
  else if (xinf) begin
  else if (xinf) begin
    expo <= 15'h7fff;
    expo <= 15'h7fff;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.