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

Subversion Repositories ft816float

[/] [ft816float/] [trunk/] [rtl/] [verilog2/] [DFPTrunc96.sv] - Diff between revs 88 and 89

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

Rev 88 Rev 89
Line 72... Line 72...
 
 
genvar g;
genvar g;
generate begin : gMask
generate begin : gMask
for (g = 0; g < N; g = g +1)
for (g = 0; g < N; g = g +1)
        always_comb
        always_comb
                mask[g*4+3:g*4] = (g > shamt) ? 4'hF : 4'h0;
                mask[g*4+3:g*4] = (g >= shamt) ? 4'hF : 4'h0;
end
end
endgenerate
endgenerate
 
 
always_comb
always_comb
        sgn = iu.sign;
        sgn = iu.sign;

powered by: WebSVN 2.1.0

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