This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6457 - Preventing writes to reserved memory space

I am using C6457 with external interfaces to FPGA using SRIO and PQ usng HPI.

A bug in the FPGA software caused SRIO writes to reserved DSP memory areas, resulting in a DSP crash.

Is there a way to prevent external interfaces (HPI/SRIO) from wrtinig to certain DSP address?

  • Oz,

    In the datasheet, the SCR Connection Matrix table shows the components that the SRIO can access. It can write to anything within those addressable ranges.

    Memory Protection is implemented on some memory components. You can read about these in the datasheet and the C64x+ Megamodule Reference Guide.

    My suggestion would be to implement a "valid target address" lookup table in the FPGA that flags attempts to write to an invalid location. Once you have debugged your application, you can remove that logic from the FPGA. 

    We have implemented additional memory protection features on our newer C66x DSPs, so you can have that to look forward to when you move up to the C6657, for example.

    Regards,
    RandyP