LZ
Summary:
The LZ function counts leading zeros or ones from the input, X, to form the exponent, E.
The LSB's of E indicates the number of leading 0's or 1's, while the MSB indicates that X is all zeros or ones.
LZ uses a very fast archictecture (compared to Norm). It does not normalize the input
as Norm does.
Function:
E[n-2:0]=exp(X)
E[n-1]=X is all zeros or ones, depending on Leading0
Signals:
E: exponent output (width chosen automatically=ceil(log2(width(X))))
X: Width wide input
Parameters:
Name: actual module name
Width: width of the X input
LeadingO: remove leading zeros when selected, remove leading ones otherwise
Verilog Usage:
Name(X,E);
Version: $Id: LZ.help,v 1.1 1996/11/12 01:41:28 peter Exp $