This design implements 8-bit fully variable multiplication using M4K RAM blocks as look-up tables (LUTs). For more details on the design, refer to AN 306: Implementing Multipliers in FPGA Devices (PDF).
Download the file(s) used in this example:
The use of this design is governed by, and subject to, the terms and conditions of the Altera Hardware Reference Design License Agreement.
Table 1 shows the Fully Variable Coefficient Soft Multiplier design example port listing.
|
Table 1. Fully Variable Coefficient Soft Multiplier Port Listing |
||
|
Port Name |
Type |
Description |
|
data_a[7..0] |
Input |
8-bit unsigned input to the multiplier. New input can be sent to the multiplier every clock cycle. |
|
data_b[7..0] |
Input |
8-bit unsigned input to the multiplier. New input can be sent to the multiplier every clock cycle. |
|
clk |
Input |
Clock |
|
sclr |
Input |
Active high synchronous clear |
|
result[15..0] |
Output |
The output is a 32-bit unsigned value. |
For more information on using this example in your project, go to:
Design Examples Disclaimer
These design examples may only be used within Altera Corporation devices and remain the property of Altera. They are being provided on an “as-is” basis and as an accommodation; therefore, all warranties, representations, or guarantees of any kind (whether express, implied, or statutory) including, without limitation, warranties of merchantability, non-infringement, or fitness for a particular purpose, are specifically disclaimed. Altera expressly does not recommend, suggest, or require that these examples be used in combination with any other product not provided by Altera.

