Verilog HDL: 12 x 9 Firm Multiplier
This design implements 12 x 9 firm multiplication using DSP blocks. For more details on the design, refer to AN 306: Implementing Multipliers in FPGA Devices.
Download the file(s) used in this example:
Table 1 shows the 12 x 9 Firm Multiplier design example port listing.
|
Table 1. 12 x 9 Firm Multiplier Port Listing
|
|
Port Name
|
Type
|
Description
|
|
data_a[8..0]
|
Input
|
9-bit signed input to the multiplier. New input can be sent to the multiplier every clock cycle.
|
|
data_b[11..0]
|
Input
|
12-bit signed 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[20..0]
|
Output
|
The output is a 21-bit signed value.
|
For more information on using this example in your project, go to:
Feedback
Did this information help you?
If not, please log onto mySupport to file a technical request or enhancement.
Altera does not warrant that this example will work for the customer's intended purpose and disclaims all liability for use of or reliance on the example.
|