IPT-C2H-NIOS Altera, IPT-C2H-NIOS Datasheet - Page 81
IPT-C2H-NIOS
Manufacturer Part Number
IPT-C2H-NIOS
Description
C2H COMPILER FOR NIOS II
Manufacturer
Altera
Series
Nios®IIr
Type
Nios IIr
Datasheet
1.IPT-C2H-NIOS.pdf
(138 pages)
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
- Current page: 81 of 138
- Download datasheet (911Kb)
Example 3–34. Loops Without Interdependencies Scheduled in Parallel
void double_mac (int* _ _ restrict_ _ a, int* __restrict__ b,
{
}
Altera Corporation
November 2009
int len_cd = len;
// Compute the MAC for a & b
long long mac_ab = 0;
while (len_ab > 0)
{
}
// Compute the MAC for c & d
long long mac_cd = 0;
while (len_cd > 0)
{
}
*res_ab = mac_ab;
*res_cd = mac_cd;
return;
mac_ab += *a++ * *b++;
len_ab--;
mac_cd += *c++ * *d++;
len_cd--;
int* _ _ restrict_ _ c, int* __restrict__ d,
long long* _ _ restrict__ res_ab,
long long* _ _ restrict__ res_cd,
int len)
If multiple loops have no interdependencies, the C2H Compiler
schedules the loops on the same state, allowing the loops to execute in
parallel. The code in
dependencies on each other. The C2H Compiler schedules these loops on
the same state.
Subfunction Calls
A subfunction call can stall the state machine in the same way that an
inner loop does. When a subfunction contains a looping structure or
shares a data dependency with its caller, the subfunction is not pipelined.
If this is the case, when the outer state machine reaches its state for the
subfunction, the outer state machine stalls until the subfunction has
completed.
If the subfunction does not contain loops or shared data dependencies the
C2H Compiler can pipeline the subfunction. For details about pipelined
subfunctions, see
// duplicate the length index
“Subfunction Pipelining” on page
Example 3–34
9.1
has two while loops with no
C-to-Hardware Mapping Reference
Nios II C2H Compiler User Guide
3–49.
3–41
Related parts for IPT-C2H-NIOS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
CYCLONE II STARTER KIT EP2C20N
Manufacturer:
Altera
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 35 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 15 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 30 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 10ns
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 7ns
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Classic EPLD
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 10ns
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 25 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet: