vhdl based 2 digit counter with seven segment display
#1

2 digit counter with seven segment display
Reply
#2

The Double-dabble technique converts binary to BCD by repeated shifting. Each repetition halves the remaining binary number and doubles the BCD number, after the complete binary value is shifted the result is obtained. After each shift a correction is applied to each 4-bit BCD column (or those having more than 3 bits shifted in by that point). This correction looks for digits that will 'BCD overflow' decimal 9 -> 10 on the next shift and patches the result by adding three.

Why three? BCD digits in the range zero to four (0,1,2,4) will double naturally to 0,2,4,8 after the shift. Examining 5 b 0101, that will shift to b 1010 (0xA), which is not a BCD digit. 5 is therefore corrected to (3+5) i.e. b 1000 (0x8) which during the shift doubles to 16 decimal (0x10), representing a carry out of 1 to the next digit and the expected zero.

Implementations repeat this process, either synchronously in time using a shift register and 'n' cycles for an n-bit input, or in space by placing the logic circuits for the correction feeding each other and doing the shift with wiring. There is a carry path right through every digit, and the carry logic is not suited to FPGA (binary) carry chain logic, so the space implementation generally gives unacceptable timing results for large inputs. A typical engineering trade-off.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: ppt for counter using seven segment display and 8051, automatic 3 digit object counter, digital thermomoter 8051 seven segment display, digital object counter with 7 segment, seven segment display and traffic light, 2 digit entry counter using ldr, two digit entry counter application,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  vhdl code for radix 2 modified booth algorithm 4 1,030 04-04-2017, 10:24 AM
Last Post: Garlapati nikitha
  matlab code energy based spectrum sensing in cognitive radio energy threshold based algorithm 2 1,072 06-08-2016, 03:30 PM
Last Post: murthyhs
  screenless display seminars report pdf 2 790 22-07-2016, 04:05 PM
Last Post: dhanabhagya
  ppt on application of transparent electronics in military for navigation display 2 1,017 20-07-2016, 11:19 AM
Last Post: jaseela123d
  vhdl code for exponential function 1 505 11-06-2016, 03:30 PM
Last Post: dhanabhagya
  kerala lottery 4 digit numbers chances tricks 1 1,176 04-06-2016, 04:20 PM
Last Post: dhanabhagya
  interfacing ldr in fpga using vhdl 1 627 31-05-2016, 11:56 AM
Last Post: dhanabhagya
  7 segment led driver ic circuits diagrams 3 digi volt metre 1 617 31-05-2016, 10:36 AM
Last Post: dhanabhagya
  gps based train bus station indication system with display on lcd pdf 1 958 26-05-2016, 01:06 PM
Last Post: dhanabhagya
  automatic room light controller with visitor counter pdf 1 544 24-05-2016, 11:17 AM
Last Post: dhanabhagya

Forum Jump: