Trailing or leading digit anticipator

US10949169B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10949169-B2
Application numberUS-202016789390-A
CountryUS
Kind codeB2
Filing dateFeb 12, 2020
Priority dateSep 10, 2015
Publication dateMar 16, 2021
Grant dateMar 16, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Methods and leading zero anticipators for estimating the number of leading zeros in a result of a fixed point arithmetic operation which is accurate to within one bit for any signed fixed point numbers. The leading zero anticipator includes an input encoding circuit which generates an encoded input string from the fixed point numbers; a window-based surrogate string generation circuit which generates a surrogate string whose leading one is an estimate of the leading one in the result of the arithmetic operation by examining consecutive windows of the encoded input string and setting corresponding bits of the surrogate string based on the examinations; and a counter circuit configured to estimate the number of leading zeros in the result of the arithmetic operation based on the leading one in the surrogate string.

First claim

Opening claim text (preview).

What is claimed is: 1. A leading zero anticipator configured to estimate a number of leading zeros in a result of an arithmetic operation performed on two or more fixed point numbers, the leading zero anticipator comprising: an input encoding circuit configured to generate an encoded input string from the two or more fixed point numbers; a surrogate string generation circuit configured to generate a surrogate string whose leading one is an estimate of a leading one in the result of the arithmetic operation by examining consecutive windows of the encoded input string; and setting a selected bit of the surrogate string to a predetermined value when the corresponding window of the encoded input string comprises a pattern which indicates that the selected bit or a further bit of the result of the arithmetic operation will have the predetermined value; and an output configured to provide the estimate of the number of leading zeros in the result of the arithmetic operation based on the leading one in the surrogate string. 2. The leading zero anticipator of claim 1 , wherein the further bit is adjacent to the selected bit. 3. The leading zero anticipator of claim 1 , wherein a window of the encoded input string comprises a predetermined number of consecutive positions of the encoded input string. 4. The leading zero anticipator of claim 3 , wherein the predetermined number is greater than or equal to three. 5. The leading zero anticipator of claim 3 , wherein the surrogate string generation circuit is configured to generate a selected bit of the surrogate string based on a corresponding window of the encoded input string, the corresponding window comprising the predetermined number of consecutive positions of the encoded input string starting with and including a corresponding bit position of the encoded input string. 6. The leading zero anticipator of claim 1 , wherein the input encoding circuit is configured to set a selected position of the encoded input string to one of a z, p or g based on how many of the corresponding bits of the fixed point numbers are the predetermined value. 7. The leading zero anticipator of claim 6 , wherein there are two fixed point numbers and the input encoding circuit is configured to: set the selected position of the encoded input string to a z when both of the corresponding bits of the fixed point numbers are a first value; set the selected position of the encoded input string to a p when only one of the corresponding bits of the fixed point numbers is a second value; and set the selected position of the encoded input string to a g when both of the corresponding bits of the fixed point numbers are the second value. 8. The leading zero anticipator of claim 6 , wherein a window of the encoded input string comprises three consecutive positions of the encoded input string and the surrogate string generation circuit is configured to set the selected bit of the surrogate string to the predetermined value when the corresponding window of the encoded input string comprises ggz, gpg, gpp, gpz, gzg, pgg, pzz, zgz, zpg, zpp, zpz or zzg and the surrogate string generation circuit is configured to set the selected bit of the surrogate string to a different predetermined value when the corresponding window of the encoded input string comprises ggg, ggp, gzp, gzz, pgp, pqz, ppg, ppp, ppz, pzg, pzp, zgg, zgp, zzp, or zzz. 9. The leading zero anticipator of claim 6 , wherein the surrogate string generation circuit is configured to set the selected bit of the surrogate string, e_y, according to the following formula: e _ y i =( p ι ∧( g i−1 ∨( g i−1 ∧z i−2 )∨( z i−1 ∧g i−2 )))∨( p i ∧(( z i−1 ∧z i−2 )∨( g i−1 ∧g i−2 ))). 10. The leading zero anticipator of claim 6 , wherein the surrogate string generation circuit is configured to set the selected bit of a negated surrogate string, e_y , according to the following formula: e _ y ι =( p ι ∧(( z i−1 ∧ g ι−2 )∨( g i+1 ∧ z ι−2 )))∨( p i ∧(( z i−1 ∧ g ι−2 )∧( g i−1 ∧ z i−2 ))). 11. A method of estimating a number of leading zeros in a result of an arithmetic operation performed on two or more fixed point numbers, the method comprising: generating, using an input-encoding circuit, an encoded input string from the two or more fixed point numbers; generating, using a surrogate string generation circuit, a surrogate string whose leading one is an estimate of a leading one in the result of the arithmetic operation by examining consecutive windows of the encoded input string; setting a selected bit of the surrogate string to a predetermined value when the corresponding window of the encoded input string comprises a pattern that indicates that the selected bit or a further bit of the result of the arithmetic operation will have the predetermined value; and outputting an estimate of the number of leading zeros in the result of the arithmetic operation based on the leading one in the surrogate string. 12. The method of claim 11 , wherein the further bit is adjacent to the selected bit. 13. The method of claim 11 , wherein a window of the encoded input string comprises a predetermined number of consecutive positions of the encoded input string and the predetermined number is greater than or equal to three. 14. The method of claim 13 , wherein generating the surrogate string comprises setting a selected bit of the surrogate string based on a corresponding window of the encoded input string, the corresponding window comprising the predetermined number of consecutive positions of the encoded input string starting with and including a corresponding bit position of the encoded input string. 15. The method of claim 11 , wherein generating the encoded input string comprises setting a selected position of the encoded input string to one of z, p or g based on how many of the corresponding bits of the fixed point numbers are the predetermined value. 16. The method of claim 15 , wherein there are two fixed point numbers and generating the encoded input string comprises: setting the selected position of the encoded input string to a z when both of the corresponding bits of the fixed point numbers are a first value; setting the selected position of the encoded input string to a p when only one of the corresponding bits of the fixed point numbers is a second value; and setting the selected position of the encoded input string to a g when both of the corresponding bits of the fixed point numbers are the second value. 17. The method of claim 15 , wherein a window of the encoded input string comprises three consecutive positions of the encoded input string and generating the surrogate string comprises setting the selected bit of the surrogate string to the predetermined value when the corresponding window of the encoded input string comprises ggz, gpg, gpp, gpz, gzg, pgg, pzz, zgz, zpg, zpp, zpz or zzg and setting the selected bit of the surrogate string to a different predetermined value when the corresponding window of the encoded input string comprises ggg, ggp, gzp, gzz, pgp, pgz, ppg, ppp, ppz, pzg, pzp, zgg, zgp, zzp, or zzz. 18. The method of claim 15 , wherein generating the surrogate string comprises setting the selected bit of the surrogate string, e_y, according to the following formula: e _ y i =( p ι ∧( p i−1 ∨( g i−1 ∧z i−2 )∨( z i−1 ∧g i−2 )))∨( p i ∧(( z i−1 ∧z i−2 )∨( g i−1 ∧g i−2 ))). 19. The method of claim 15 , wherein generating the surrogate string comprises se

Assignees

Inventors

Classifications

  • G06F7/74Primary

    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)} · CPC title

  • Basic arithmetic logic units, i.e. devices selectable to perform either addition, subtraction or one of several logical operations, using, at least partially, the same circuitry · CPC title

  • in floating-point computations · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10949169B2 cover?
Methods and leading zero anticipators for estimating the number of leading zeros in a result of a fixed point arithmetic operation which is accurate to within one bit for any signed fixed point numbers. The leading zero anticipator includes an input encoding circuit which generates an encoded input string from the fixed point numbers; a window-based surrogate string generation circuit which gen…
Who is the assignee on this patent?
Imagination Tech Ltd
What technology area does this patent fall under?
Primary CPC classification G06F7/74. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 16 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).