Binary-to-BCD conversion
Abstract
Disclosed herein are various embodiments of circuitry and methods to convert from a binary value to a BCD value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 3.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A chip, comprising: conversion circuitry to convert from a 7-bit binary value, X, to first and second 4-bit Binary Coded Decimal values, D 1 and D 0 , the conversion circuitry including summing circuitry to add X right shifted by 4 to X right-shifted by 5 in generating the first Binary Coded Decimal value.
- Claim 2Depends on #1
The chip of claim 1 , in which X comprises, from least to most significant, bits X 0 to X 6 , and the summing circuitry comprises circuitry to add to X right-shifted by 4 summed with X right-shifted by 5 either 1 or 2 depending on whether X 3 and X 4 are equal to ‘1, to generate a preliminary first Binary Coded Decimal value D′ 1 .
- Claim 3Depends on #2
The chip of claim 2 , in which the summing circuitry comprises first and second 3:2 compressor circuits.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗