IP Library Granted Patent US 10,379,852
Granted Patent B2
US 10,379,852 · App. 15/685,332 · Granted Aug 13, 2019

Apparatuses for integrating arithmetic with logic operations

Inventors: Huaisheng Zhang (Shanghai, CN); Dacheng Liang (Shanghai, CN); Boming Chen (Shanghai, CN); Renyu Bian (Shanghai, CN)
Assignee: VIA ALLIANCE SEMICONDUCTOR CO., LTD.
G06F9/30014G06F7/483G06F7/57G06F9/30021G06F9/30029G06F9/30094G06F9/30185G06F9/30189G06F9/3887G06F9/3893G06F15/16G06F7/026G06F7/49936G06F7/74G06F9/30036G06F9/30134G06F2207/382G06F2207/3824H04N19/85
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,379,852
App. No.
15/685,332
Granted
Aug 13, 2019
Kind
B2
Abstract

An apparatus for integrating arithmetic with logic operations contains at least a calculation device and a post-logic unit. The calculation device calculates source data to generate and output first destination data. The post-logic unit, coupled to the calculation device, performs a comparison operation for comparing the first destination data with 0 and outputs a comparison result.

Claims (32)

1. An apparatus for integrating arithmetic with logic operations, comprising:

a calculation device, calculating source data to generate and output first destination data; and

a post-logic unit, coupled to the calculation device, performing a comparison operation for comparing the first destination data with 0, and outputting a comparison result;

wherein the post-logic unit is coupled to the calculation device via a delay circuit,

wherein the calculation device generates and outputs the first destination data at one cycle,

wherein the post-logic unit performs the comparison operation for comparing the first destination data with 0 and outputs the comparison result at the next cycle.

2. The apparatus of claim 1 , wherein the first destination data is a floating-point value and not undergone a normalization.

3. The apparatus of claim 1 , comprising:

a normalization unit, coupled to the calculation device via the delay circuit, normalizing the first destination data to generate second destination data,

wherein the normalization unit normalizes the first destination data to generate the second destination data at the next cycle.

4. The apparatus of claim 1 , wherein the comparison operation comprises one of the following determinations:

whether the first destination data is greater than 0;

whether the first destination data equals 0;

whether the first destination data equals or is greater than 0;

whether the first destination data is less than 0;

whether the first destination data does not equal 0; and

whether the first destination data is less than or equals 0.

5. The apparatus of claim 4 , wherein the post-logic unit comprises a comparator obtaining a signal from an ID (Instruction Decode) unit and performing one of the determinations according to the comparison Opcode.

6. The apparatus of claim 1 , wherein the calculation device performs a calculation:

dest= Src 0× Src 1+ Src 2,

Src0, Src1 and Src2 represent the source data of three source memories, and dest represents the first destination data.

7. The apparatus of claim 6 , comprising:

a normalization unit, coupled to the calculation device, normalizing the first destination data to generate the second destination data of a first type when receiving the signal indicating an output of first-type data, and normalizing the first destination data to generate the second destination data of a second type when receiving the signal indicating an output of second-type data.

8. The apparatus of claim 7 , wherein the second destination data of the first type is 24-bit floating-point value, and the second destination data of the second type is 32-bit floating-point value.

9. The apparatus of claim 7 , wherein the normalization unit comprises:

a shifter;

an adder;

a comparator, coupled to the shifter and the adder, wherein the comparator, the shifter and the adder form a loop for performing a normalization of a floating-point value; and

a merger, coupled to the shifter and the adder, combining a sign bit, a mantissa output from the shifter and an exponent output from the adder to generate the second destination data.

10. The apparatus of claim 9 , wherein the shifter drops 7 bits from a mantissa of 34 bits of the first destination data and the adder drops 1 bit from an exponent of 10 bits of the first destination data when receiving the signal indicating an output of first-type data.

11. The apparatus of claim 10 , wherein the comparator repeatedly operates until the MSB (Most Significant Bit) of a output from the shifter is 1,

wherein, in each iteration, when the MSB of the output of the shifter is not 1, the comparator directs the shifter to left-shift the mantissa of the first destination data by one bit and directs the adder to add −1 to the exponent of the first destination data.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 18, 2021
From: SHANGHAI ZHAOXIN SEMICONDUCTOR CO., LTD.
To: GLENFLY TECH CO., LTD.
Reel/Frame 058965/0042 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 24, 2017
From: ZHANG, HUAISHENG; LIANG, DACHENG; CHEN, BOMING; BIAN, RENYU
To: VIA ALLIANCE SEMICONDUCTOR CO., LTD.
Reel/Frame 043387/0714 →
Priority Claims (1)
CN 2017 1 0499441 · Jun 27, 2017 · national
Continuity (1)
Related Publication 20180373536A1 · Dec 27, 2018