URL
https://opencores.org/ocsvn/ft816float/ft816float/trunk
Show entire file |
Details |
Blame |
View Log
Rev 62 |
Rev 64 |
Line 57... |
Line 57... |
|
|
DFP128U ui;
|
DFP128U ui;
|
DFPUnpack128 uunpk1 (i, ui);
|
DFPUnpack128 uunpk1 (i, ui);
|
|
|
wire [127:0] maxInt = op ? {1'd0,{127{1'b1}}} : {128{1'b1}}; // maximum integer value
|
wire [127:0] maxInt = op ? {1'd0,{127{1'b1}}} : {128{1'b1}}; // maximum integer value
|
wire [13:0] zeroXp = {1'd0,{13{1'b1}}};
|
wire [13:0] zeroXp = 14'h17FF;
|
|
|
reg sgn; // sign
|
reg sgn; // sign
|
always @(posedge clk)
|
always @(posedge clk)
|
if (ce) sgn = ui.sign;
|
if (ce) sgn = ui.sign;
|
wire [13:0] exp = ui.exp; // exponent
|
wire [13:0] exp = ui.exp; // exponent
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.