Hi all.I couldnt solve this question.I tried something but i dont have any idea.Can u help me please.Thank you. Design a circuit that will multiply BCD ( Binary Coded Deciamal code) numbers which are between 0-9 with 10 (ten). Use an inverting output (4-10) Decoder. (Note: if input is 3 in BCD, output must be 3x10=30 in BCD) |
by mehmet23
June 02, 2021 |

Since a single BCD digit is on 4 bits, assuming it is part of an unsigned number, if I undersand correctly, multiplying by 10 is a matter to insert a zero, four bits all at zero, in the least significant position. So, if you start with an uint8_t: 0 0 0 0 a b c d with any a, b, c and d in { 0 , 1 }, but representing a valid BCD number ( 8a+4b+2c+d <= 9 ) you try to end up with a b c d 0 0 0 0 or a number stored on two BCD digits. If I am right, there is no need to anything else than ... plain wires. I am probably wrong, though, since it would be so ... simple. |
by vanderghast
June 05, 2021 |

Add comment... |

No answers yet. Contribute your answer below!

You must log in or create an account (free!) to answer a question.

Anyone can ask a question.

Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

**Acceptable Questions:**

- Concept or theory questions
- Practical engineering questions
- “Homework” questions
- Software/hardware intersection
- Best practices
- Design choices & component selection
- Troubleshooting

**Unacceptable Questions:**

- Non-English language content
- Non-question discussion
- Non-electronics questions
- Vendor-specific topics
- Pure software questions
- CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.

Please sign in or create an account to comment.