Data Path and Control: Dr. Rohith S Assoc. Professor Department of ECE NCET, Bangalore

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 7

Data path and control

Dr. ROHITH S
Assoc. Professor
Department of ECE
NCET, Bangalore
• general view of a digital system divides the circuit
that implements the operations into a datapath
and a control section
• The datapath contains the combinational circuits
that implement the basic operations and the
registers that store intermediate results
• The control section generates control signals that
govern the operation of the datapath elements
problem
Develop a datapath to perform a complex
multiplication of two complex numbers. The
operands and product are all in Cartesian form.
The real and imaginary parts of the operands are
represented as signed fixedpoint numbers with 4
pre-binary-point and 12 post-binary-point bits.
The real and imaginary parts of the product are
similarly represented, but with 8 pre binary- point
and 24 post-binary-point bits. The complex
multiplier is subject to constraints that strongly
limit the circuit area.
Solution
Verilog code
Design a control sequence for the control signals of the
sequential complex multiplier.

• Multiply a_r and b_r, and store the result in partial


product register 1.
• Multiply a_i and b_i, and store the result in partial
product register 2.
• Subtract the partial product register values and store
the result in the product real part register.
• Multiply a_r and b_i, and store the result in partial
product register 1.
• Multiply a_i and b_r, and store the result in partial
product register 2.
• Add the partial product register values and store the
result in the product imaginary part register.

You might also like