URL
https://opencores.org/ocsvn/ft816float/ft816float/trunk
Show entire file |
Details |
Blame |
View Log
Rev 82 |
Rev 85 |
Line 152... |
Line 152... |
// - also factor in the different decimal position for division
|
// - also factor in the different decimal position for division
|
reg [13:0] ex1; // sum of exponents
|
reg [13:0] ex1; // sum of exponents
|
reg qNaNOut;
|
reg qNaNOut;
|
|
|
always @(posedge clk)
|
always @(posedge clk)
|
if (ce) ex1 <= au.exp - bu.exp + bias - ((lzcnt > N+2) ? lzcnt-(N+2) : 0);
|
if (ce) ex1 <= au.exp - bu.exp + bias - ((lzcnt >= N) ? lzcnt-N-1 : 0);
|
|
|
always @(posedge clk)
|
always @(posedge clk)
|
if (ce) qNaNOut <= (az&bz)|(aInf&bInf);
|
if (ce) qNaNOut <= (az&bz)|(aInf&bInf);
|
|
|
wire over = 1'b0;
|
wire over = 1'b0;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.