IPTR-C2H-NIOS Altera, IPTR-C2H-NIOS Datasheet - Page 65

no-image

IPTR-C2H-NIOS

Manufacturer Part Number
IPTR-C2H-NIOS
Description
IP CORE Renewal Of IPT-C2H-NIOS
Manufacturer
Altera
Datasheet

Specifications of IPTR-C2H-NIOS

Software Application
IP CORE, NIOS Processor And Functions
Core Architecture
Nios II
Features
ANSI C Compliance, Straightforward C-to-Hardware Mapping, Reporting Of Generated Results
Core Sub-architecture
Cyclone
Rohs Compliant
NA
Lead Free Status / RoHS Status
na
Example 3–15. Pragma Connecting a Master Port to a Slave Port
#pragma altera_accelerate connect_variable foo/my_ptr to onchip_buffer
int foo(int *my_ptr)
{
}
Example 3–16. Pragma Connecting a Master Port to Multiple Slave Ports
#pragma altera_accelerate connect_variable foo/my_ptr to onchip_buffer_0
#pragma altera_accelerate connect_variable foo/my_ptr to ext_ram_bridge
#pragma altera_accelerate connect_variable foo/my_ptr to sdram
#pragma altera_accelerate connect_variable foo/my_ptr to \
int foo(int *my_ptr)
{
}
Altera Corporation
November 2009
int x = *my_ptr;
my_ptr[8] = 23;
int x = *my_ptr;
my_ptr[8] = 23;
Example 3–15
master ports for the variable my_ptr to the memory module named
onchip_buffer.
Example 3–16
variable's master ports to multiple slave ports.
Specifying Arbitration Shares
Arbitration shares benefit memories that have higher efficiency when
accessed sequentially, such as SDRAM. You can use arbitration shares to
reduce interruptions to sequences of transfers with a specific slave. For
example, if a master-slave connection has an arbitration share value of
ten, then the arbitrator grants at least ten consecutive transfers to the
master port when it begins a sequence of transfer requests.
The connection pragma with additional terms for arbitration share is
defined as follows, where <shares> is a positive integer from 1 to 100:
#pragma altera_accelerate connect_variable \
<function name>/<variable name> to
<module>[/<slave name>] arbitration_share <shares>
illustrates usage of the connection pragma to connect two
illustrates using multiple pragmas to connect a pointer
9.1
onchip_buffer_1/s2
C-to-Hardware Mapping Reference
Nios II C2H Compiler User Guide
3–25

Related parts for IPTR-C2H-NIOS