General Leading Zeros Counter IP

$2.00

  1. This FPGA based IP counts leadings zeros of data (a).
  2. It has two parameters N and p. N is data width and p is width of the count.
  3. Supports maximum data width to 64 thus max size of p is 6.
  4. Data width must be even like 10,12,14,….
  5. Fully tested on Xilinx XC7A35T-1FTG256 Artix 7 FPGA
  6. Verilog code for seven segment controller is attached.
  7. If all zeros then count value is illegal.
  8. This is a fully combinational circuit and designed with Verilog HDL.

Counting leading zeros is an important operation in many digital systems. This block is also very important in developing floating point arithmetic blocks. Thus we have made this block as an IP so that it helps the researchers in designing complex blocks. General Leading Zeros Counter IP is made such a way that it can count leading zeros of a data of maximum width of 64. This means this block supports maximum  N = 64. This block has another parameter p which denotes the data width of zeros count (z). For examples if data width is 16 then value p will be 4. Maximum value of p is 6 for maximum value of N=64. Another important criteria of this block is that data width can be increased by 2 not by 1. For example, we can give data width as 10, 12, 14 etc. Means this block supports only even data width. This block has another output which is q. If q is logic 1 then all the bits of data (a) are zeros. In this case, value of z is invalid.

This is initially implemented on Xilinx XC7A35T-1FTG256 Artix 7 FPGA but is supported to any other board. This IP is completely combinational and thus user have to find its detail timing analysis. Resource utilization details is shown below

In order to test the IP, we have used seven segment display to show the zero count. Note that this IP is not tested within a complex design thus frequency performance is not determined.

Reviews

There are no reviews yet.

Be the first to review “General Leading Zeros Counter IP”

Your email address will not be published. Required fields are marked *

Shopping Basket