Complex 4-bit Multiplier BRAM
==============================
| **Block:** Complex 4-bit Multiplier Implemented in Block RAM
(``cmult_4bit_br``)
| **Block Author**: Block Author
| **Document Author**: Document Author
+--------------------------------------------------------------------------+
| .. raw:: html |
| |
|
|
| |
| .. rubric:: Contents |
| :name: contents |
| |
| .. raw:: html |
| |
|
|
| |
| - `Summary <#summary>`__ |
| - `Mask Parameters <#mask-parameters>`__ |
| - `Ports <#ports>`__ |
| - `Description <#description>`__ |
+--------------------------------------------------------------------------+
Summary
--------
Perform a complex multiplication (*a* + *bi*)(\ *c* − *di*) = (*ac* −
*bd*) + (*ad* + *bc*)\ *i*. Implements the logic in Block RAM.
Mask Parameters
-----------------
+----------------------+-----------------+-------------------------------------+
| Parameter | Variable | Description |
+======================+=================+=====================================+
| Multiplier Latency | mult\_latency | The latency through a multiplier. |
+----------------------+-----------------+-------------------------------------+
| Add Latency | add\_latency | The latency through an adder. |
+----------------------+-----------------+-------------------------------------+
Ports
------
+--------+-------+-------------+---------------------------------------+
| Port | Dir | Data Type | Description |
+========+=======+=============+=======================================+
| a | in | Inherited | The real component of input 1. |
+--------+-------+-------------+---------------------------------------+
| b | in | Inherited | The imaginary component of input 1. |
+--------+-------+-------------+---------------------------------------+
| c | in | Inherited | The real component of input 2. |
+--------+-------+-------------+---------------------------------------+
| d | in | Inherited | The imaginary component of input 2. |
+--------+-------+-------------+---------------------------------------+
| real | out | Inherited | ac-bd |
+--------+-------+-------------+---------------------------------------+
| imag | out | Inherited | ad-bc |
+--------+-------+-------------+---------------------------------------+
Description
------------
Each 4 bit real multiplier is implemented as a lookup table with
4b+4b=8b of address.