Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

C2H Example that can work with DE2 (cyclone 2 fpga)

I am looking for an example program that I can use with DE2 board ...I am very new to this tool so it will be nice if someone can provide me with some suitable example project or tutorial from altera

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I would look at the tutorials, they should port fairly easily to other boards. For example describing a DMA transfer as an array copy inside of a for loop would be a good start. Something like this:

    for (i = 0; i < TRANSFER_LENGTH_IN_WORDS; i ++)

    {

    dest_array = source_array;

    }