Parameters, Parameters -4 – Altera Integer Arithmetic IP User Manual

Page 77

Advertising
background image

Port Name

Required

Description

sel[]

No

Fixed coefficient selection. The size of the input port depends on the

WIDTH_S

parameter value.

sload_coeff

No

Synchronous load coefficient input port. Replaces the current

selected coefficient value with the value specified in the

coeff_in

input.

sload_data

No

Synchronous load data input port. Signal that specifies new

multiplication operation and cancels any existing multiplication

operation. If the

MAX_CLOCK_CYCLES_PER_RESULT

parameter has a

value of

1

, the

sload_data

input port is ignored.

Table 7-3: ALTMEMMULT Megafunction Output Ports

Port Name

Required

Description

result[]

Yes

Multiplier output port. The size of the input port depends on the

WIDTH_R

parameter value.

result_valid

Yes

Indicates when the output is the valid result of a complete multipli‐

cation. If the

MAX_CLOCK_CYCLES_PER_RESULT

parameter has a value

of

1

, the

result_valid

output port is not used.

load_done

No

Indicates when the new coefficient has finished loading. The

load_

don

e signal asserts when a new coefficient has finished loading.

Unless the

load_done

signal is high, no other coefficient value can

be loaded into the memory.

Parameters

The following table lists the parameters for the ALTMEMMULT megafunction.

Table 7-4: ALTMEMMULT Megafunction Parameters

Parameter Name

Type

Required

Description

WIDTH_D

Integer Yes

Specifies the width of the

data_in[]

port.

WIDTH_C

Integer Yes

Specifies the width of the

coeff_in[]

port.

WIDTH_R

Integer Yes

Specifies the width of the

result[]

port.

WIDTH_S

Integer No

Specifies the width of the

sel[]

port.

COEFFICIENT0

Integer Yes

Specifies value of the first fixed

coefficient.

TOTAL_LATENCY

Integer Yes

Specifies the total number of clock

cycles from the start of a multiplica‐

tion to the time the result is available

at the output.

7-4

Parameters

UG-01063

2014.12.19

Altera Corporation

ALTMEMMULT (Memory-based Constant Coefficient Multiplier)

Send Feedback

Advertising