Digital circuit: multiplying 2 binary numbers

In summary, the conversation discusses the design of a digital circuit for multiplying two binary numbers using the repeated addition method. The multiplicand is stored in register BR, the multiplier in register AR, and the product in register PR. An adder circuit is used to add the contents of BR to PR, while a zero-detection circuit checks when AR becomes 0 after being decremented. The use of ASM is also mentioned in relation to this problem.
  • #1
SFighter
2
0
"Design a digital circuit that multiplies two binary numbers by the repeated addition method (to mult. 5x4, the digi system evaluates the product by adding the multiplicand fours times: 5+5+5+5=20). Let the multiplicand be in register BR, the multiplier in reg AR, the product in reg PR. An adder circuit adds the contents of BR to PR. A zero-detection circuit Z checks when AR becomes 0 after each time that it is decremented."
 
Engineering news on Phys.org
  • #2
Welcome to PF, SFighter. It sounds like this question should be posted in the Homework forums:

https://www.physicsforums.com/forumdisplay.php?f=158

When you post a homework question, you should show the work you've done to try to figure out the answer. Like on this problem, show how much of the circuit you've figured out, and what you are having trouble understanding.
 
  • #3
Nevermind - me and a friend just figured it out (ASM related)
 

1. How do binary numbers work?

Binary numbers are a numerical system that uses only two digits, 0 and 1, to represent numbers. Each digit in a binary number is referred to as a bit and the value of each bit is determined by its position in the number. The rightmost bit has a value of 1, the next bit to the left has a value of 2, then 4, 8, and so on. The value of a binary number is calculated by adding up the values of each bit that is a 1.

2. What is a digital circuit?

A digital circuit is a circuit that uses digital signals to carry out logical operations. These circuits consist of electronic components such as transistors, resistors, and capacitors that are connected together to perform a specific function, such as adding or multiplying two binary numbers.

3. How do you multiply two binary numbers using a digital circuit?

To multiply two binary numbers using a digital circuit, you need to use a binary multiplier circuit. This circuit takes in two binary numbers and performs a series of logical operations, such as AND and OR, to calculate the product of the two numbers. The result is then output in binary form.

4. What are the advantages of using a digital circuit to multiply binary numbers?

One of the main advantages of using a digital circuit to multiply binary numbers is speed. Digital circuits can perform calculations much faster than humans, making them ideal for complex mathematical operations. Additionally, digital circuits are more accurate and reliable compared to human calculation, reducing the chances of errors.

5. Are there any limitations to using a digital circuit to multiply binary numbers?

One limitation of using a digital circuit to multiply binary numbers is the complexity of the circuit. As the number of bits in the binary numbers increases, the size and complexity of the circuit also increase. This can make it challenging to design and implement the circuit. Additionally, digital circuits are prone to errors caused by noise and other external factors that can affect the accuracy of the calculation.

Similar threads

  • Programming and Computer Science
Replies
1
Views
953
Replies
4
Views
926
Replies
16
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
3K
  • Introductory Physics Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
12
Views
9K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
2K
Replies
9
Views
1K
Back
Top