Forum Discussion

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

any way to control turn on/off LSU embedded cache?

Hi,

Currently the aoc compiler will decide if the embedded cache in the LSU will be used according the the size/type etc.

But is there any way to control it manually?

Any advice and suggestion is appreciated. Thanks in advance.

1 Reply

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

    I also have a similar question.

    Is this possible to control the STYLE of LSU manually?

    According to an Altera slide "Optimizing OpenCL Implementation for

    FPGAs", it generates "Simple LSU" for random access (p.30 in the slide)

    but it looks like OpenCL generates "STREAMING" LSU for a random

    memory access in my code.

    - k