A BCD to 7 segment combinational logic circuit gets a decimal digit as its input and converts the signal to suite a 7 segment display. The basic block diagram is as follows.

The decimal number is given as 4 binary inputs. The BCD gives 8 signals as outputs for the 7 segment display, 7 of which drive different segments of the display and one of which drives the decimal point.

Segments of the display

Development of the Combinational Logic

First we will develop the combinational logic to implement this BCD to 7 segment display decoder.

We will tabulate which segments should be lit up in order to show the decimal numbers on out 7 segment display.

All the other binary combinations for number 10-15 can be considered as “don’t care”.

As the 7-segments displays on the FPGA development board are common anode, we consider an ON state of a segment as logic 0 and OFF state of a segment as logic 1.

Now we can consider each segment of our 7 segment display and construct a combinational circuit for each of them. To ease the simplification, we can draw a 4 input Karnaugh Map.

Segment A

A = ~(In3) * ~(In2) * ~(In1) * (In0) + ~(In3) * (In2) * ~(In1) * ~(In0)

Segment B

B = ~(In3) * ~(In2) * ~(In1) * (In0) + ~(In3) * (In2) * ~(In1) * ~(In0)

Segment C

C = ~(In3) * ~(In2) * (In1) * ~(In0)

Segment D

D = ~(In3) * ~(In2) * ~(In1) * (In0) + ~(In3) * (In2) * ~(In1) * ~(In0) 
          + ~(In3) * (In2) * (In1) * (In0)

Segment E

E = ~(In3) * (In0) + ~(In3) * (In2) * ~(In1) + ~(In2) * ~(In1) * (In0)

Segment F

F = ~(In3) * ~(In2) * (In0) + ~(In3) * ~(In2) * (In1) + ~(In3) * (In1) * (In0)

Segment G

G = ~(In3) * ~(In2) * ~(In1) + ~(In3) * (In2) * (In1) * (In0) 

Segment DP

DP = 1

Now we have established our digital design for the BCD to 7-segment decoder.

Click here to read the blog post of implementation of the circuit using Verilog in Quartus Prime on Terasic DE10-Lite FPGA.

14 Replies to “Design of BCD to 7 Segment Display Decoder using Logic Gates”

  1. Spot on with this write-up, I seriously believe this site needs a lot more attention. I’ll probably be back again to read through more, thanks for the information!

  2. After looking over a handful of the blog posts on your website, I really like your way of blogging. I saved as a favorite it to my bookmark website list and will be checking back in the near future. Please visit my web site as well and let me know your opinion.

  3. Thank you for some other informative blog. Where else may I get that
    kind of info written in such a perfect manner? I have a undertaking that I’m
    just now working on, and I’ve been on the look out for
    such information.

  4. What i don’t realize is actually how you’re now not really a lot more smartly-appreciated than you may be now.
    You are very intelligent. You already know thus considerably on the subject of this topic, made
    me in my view consider it from a lot of numerous angles.
    Its like women and men don’t seem to be fascinated except
    it’s something to accomplish with Girl gaga!

    Your personal stuffs excellent. At all times take care of it up!

  5. Woah! I’m really enjoying the template/theme of this website.

    It’s simple, yet effective. A lot of times it’s tough to get that “perfect balance” between usability and visual appeal.
    I must say that you’ve done a awesome job with this.
    Also, the blog loads super quick for me on Safari. Superb
    Blog!

  6. Thanks for any other informative website.

    The place else may just I am getting that
    type of information written in such a perfect manner?
    I’ve a undertaking that I’m just now working on, and I have been on the glance out for such information.

  7. Hey there, You’ve done an excellent job. I will certainly digg it and personally suggest to my friends.
    I’m confident they will be benefited from this site.

  8. It is perfect time to make a few plans for the long run and it’s time
    to be happy. I’ve learn this post and if I could I wish to recommend you few
    attention-grabbing issues or advice. Maybe you can write next articles relating
    to this article. I wish to learn more things about it!

  9. Hello everyone, it’s my first pay a visit at this web site, and post is truly fruitful in favor of me, keep up posting these types of articles.

  10. It’s awesome to go to see this web site and reading the views of all colleagues
    regarding this paragraph, while I am also eager of getting
    familiarity.

Leave a Reply

Your email address will not be published. Required fields are marked *