IPT-C2H-NIOS Altera, IPT-C2H-NIOS Datasheet - Page 121

no-image

IPT-C2H-NIOS

Manufacturer Part Number
IPT-C2H-NIOS
Description
C2H COMPILER FOR NIOS II
Manufacturer
Altera
Series
Nios®IIr
Type
Nios IIr
Datasheet

Specifications of IPT-C2H-NIOS

Function
C to Hardware Compiler
License
Initial License
Software Application
IP CORE, NIOS Processor And Functions
Core Architecture
FPGA
Core Sub-architecture
Cyclone
Rohs Compliant
NA
Lead Free Status / RoHS Status
Not applicable / Not applicable
Pragma Reference
Example 6–3. Pragma Specifying Arbitration Share
#pragma altera_accelerate connect_variable myfunc/x to sdram \
Flow Control
Pragma
Altera Corporation
November 2009
arbitration_share 16
f
master port when it begins a sequence of transfer requests. The
arbitration share of a shared Avalon-MM master port is the sum of the
arbitration shares of all master-slave pairs associated with the master
port.
The connection pragma with additional terms for arbitration share is
defined as follows, where <shares> is a positive integer from 1 to 100:
Example 6–3
module named sdram with an arbitration share of 16.
Avalon-MM transfers with flow control force a master port to obey flow
control signals controlled by a slave port. For example, a slave FIFO might
assert flow control signals to prevent write transfers when the FIFO
memory is full. The C2H Compiler provides a flow control pragma which
enables flow control for all master ports related to a specific pointer
variable.
The flow control pragma is defined as follows:
The flow control pragma must be placed outside the function to
accelerate in the same file. <function name> and <variable name> are the
exact names of the accelerated function and the pointer variable.
1
For details about Avalon-MM flow control, refer to the
Mapped Interface
#pragma altera_accelerate connect_variable \
#pragma altera_accelerate \
Nios II C2H Compiler User Guide
enable_flow_control_for_pointer
<function name>/<variable name>
<function name>/<variable name> to \
<module>[/<slave name>] arbitration_share <shares>
Using the flow control pragma might result in an accelerator
that functions differently from the original function running on
the Nios II processor.
connects the variable x in function myfunc to the memory
Specification.
9.1
Avalon Memory-
6–3

Related parts for IPT-C2H-NIOS