Forum Discussion

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

any way to disable the packet support of SGDMA in 10.1

Is there any way to turn off packet support of SGDMA for stream-to-memory in v10.1?

It seems not option to disable the packet support.

I got follow message:

Error: ADC/sgdam_0.in: the sink has a startofpacket signal of 1 bits, but he source does not

Error: ADC/sgdam_0.in: the sink has a empt signal of 1 bits, but the source does not.

4 Replies

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

    You can either use start/end of packet signals or enable burst transfers and use a fixed size of burst.

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

    You have to write your own custom Avalon-ST interface. sop doesn't have 1 bit.

    Your design module is in between mm_to_st -> your custome interface -> st_to_mm

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

    IIRC the packet signals are always there on the SGDMA's interfaces, whatever you do. You can insert an adapter, and if you use a specific byte count in the descriptor, the SGDMA will ignore the packet signals.

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

    Like others have said those signals are always enabled and adapters will be needed to bridge the gap. If you are not already far into your design you may want to take a look at my mSGDMA which you can turn off those signals: http://www.alterawiki.com/wiki/modular_sgdma It has a different program model (it's much easier to handle in software) but it doesn't support descriptor pre-fetching .... yet.