# US 2015/0178045 A1 · Partially and Fully Parallel Normaliser

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0178045 A1
- Document ID: US20150178045A1
- Status: Published application
- Kind: A1
- Application number: 14/576,859
- Filed: 2014-12-19
- Published: 2015-06-25
- Earliest claimed: 2013-12-20
- Assignees: Imagination Technologies Limited
- Applicants: Imagination Technologies Limited
- Inventors: Theo Alan Drane
- Web page: https://patentgrep.com/patent/US20150178045A1

## CPC

- G06F 5/01: for shifting, e.g. justifying, scaling, normalising {(digital stores in which the information is moved stepwise, e.g. shift-registers G11C19/00; digital stores in which the information circulates G11C21/00)}
- G06F 7/74: Selecting or encoding within a word the position of one or more bits having a specified value, e.g. most or least significant one or zero detection, priority encoders {(with shifting G06F5/01)}
- G06F 2205/003: Reformatting, i.e. changing the format of data representation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Hardware logic arranged to normalise (or renormalise) an n-bit input number is described in which at least a proportion of a left shifting operation is performed in parallel with a leading zero count operation. In various embodiments the left shifting and the leading zero count are performed independently. In various other embodiments, a subset of the bits output by a leading zero counter are input to a left shifter and the output from the left shifter is input to a renormalisation block which completes the remainder of the left shifting operation independently of any further input from the leading zero counter.

## Claims

### Claim 1

An apparatus comprising hardware logic arranged to normalise an input n-bit binary number, the hardware logic comprising:
a leading zero counter arranged to compute a number of leading zeros in the n-bit number; and
left shifting logic arranged to perform left shifting of the n-bit number, wherein at least a portion of the left shifting is performed in parallel with the computing of the number of leading zeros and without input from the leading zero counter.

### Claim 2 (depends on 1)

An apparatus according to claim 1, wherein the left shifting logic comprises a normaliser block arranged to operate independently of the leading zero counter.

### Claim 3 (depends on 2)

An apparatus according to claim 2, wherein the normaliser block comprises hardware logic arranged to combine pairs of input bits according to:
rij:j=aj·aj−n+1+i
Where:
· represents an AND logic function,
j is a bit index associated with each of the n-bits in the input number,
aj is the jth bit in the input number, and
i is a bit index associated with each bit ri output by the normaliser block.

### Claim 4 (depends on 3)

An apparatus according to claim 3, wherein the normaliser block further comprises hardware logic arranged to combine values rij:j in the form of a tree of logic elements to compute output bits rin−1:0 based on at least one of:
rij:k=rij:t+Bj:trit−1:k and
rij:k=(rij:t+Bj:t)(rij:t+rit−1:k)
where:
+ represents an OR logic function,
t and k are natural numbers, and
Bj:t= aj· aj−i . . . at+1· at.

### Claim 5 (depends on 1)

An apparatus according to claim 1, wherein the left shifting logic comprises:
a left shifter arranged to receive a subset of the bits, starting from a most significant bit, generated by the leading zero counter and to left shift the n-bit number based on the received bits; and
a normaliser block arranged to receive an output from the left shifter and to generate an output comprising a normalised version of the n-bit number.

### Claim 6 (depends on 5)

An apparatus according to claim 5, wherein the normaliser block comprises hardware logic arranged to combine pairs of input bits according to:
rij:j=a′j·a′j−n+1+i
where:
· represents an AND logic function,
j is a bit index associated with each of the n-bits in the input number,
a′i is the jth bit in the number output by the left shifter, and
i is a bit index associated with each bit ri output by the renormaliser block.

### Claim 7 (depends on 6)

An apparatus according to claim 6, wherein the normaliser block further comprises hardware logic arranged to combine values rij:j in the form of a tree of logic elements to compute output bits rin−1:n+1−2α−h based on at least one of:
rij:k=rij:t+Bj:trit−1:k and
rij:k=(rij:t+Bj:t)(rij:t+rit−1:k)
where:
+ represents an OR logic function,
t and k are natural numbers,
α=└ log2n┘+1,
the subset of bits received from the leading zero counter comprises h bits, and
Bj:t= aj· aj−i . . . at+1· at.

### Claim 8

A method of normalising an input n-bit binary number, the method comprising:
computing, by hardware logic a number of leading zeros in the n-bit number in a leading zero counter; and
left shifting the n-bit number in left shifting hardware logic, wherein at least a portion of the left shifting is performed in parallel with the computing of the number of leading zeros and without input from the number of leading zeros computation.

### Claim 9

A non-transitory computer readable storage medium having stored thereon computer executable program code that when executed causes at least one processor to
compute a number of leading zeros in the n-bit number in a leading zero counter; and
left shifting the n-bit number, wherein at least a portion of the left shifting is performed in parallel with the computing of the number of leading zeros and without input from the number of leading zeros computation

### Claim 10

A non-transitory computer readable storage medium having stored thereon computer executable program code that, when executed at a computer system for generating a representation of a digital circuit from definitions of circuit elements and data defining rules for combining those circuit elements, cause the computer system to generate hardware logic arranged to normalise an input n-bit binary number, the hardware logic comprising:
a leading zero counter arranged to compute a number of leading zeros in the n-bit number; and
normalisation logic arranged to perform left shifting of the n-bit number, wherein at least a portion of the left shifting is performed in parallel with the computing of the number of leading zeros and without input from the leading zero counter.
