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

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
Connection Pragma
Example 6–1. Pragma Connecting Master Ports to a Slave Port
#pragma altera_accelerate connect_variable foo/my_ptr to onchip_buffer
int foo(int *my_ptr)
{
}
Example 6–2. Pragma Connecting a Master Ports 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 \
int foo(int *my_ptr)
{
}
6–2
Nios II C2H Compiler User Guide
int x = *my_ptr;
my_ptr[8] = 23;
int x = *my_ptr;
my_ptr[8] = 23;
Reducing Arbitration Logic
Example 6–1
master ports for the variable my_ptr to the memory module named
onchip_buffer.
Example 6–2
variable's master ports to multiple slave ports.
In addition to reducing arbitration logic, the connection pragma helps the
C2H Compiler determine if two pointers overlap. If the memory
connections for two separate variables are mutually exclusive, the
compiler concludes that the pointers are never dependent on each other.
For more information, refer to
Optimizing Sequential Memory Access with 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
foo/my_ptr to onchip_buffer_1/s2
illustrates use of the connection pragma to connect two
illustrates using multiple pragmas to connect a pointer
9.1
“Pointer Aliasing” on page
Altera Corporation
November 2009
3–32.

Related parts for IPTR-C2H-NIOS