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

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
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 IPT-C2H-NIOS