Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
744 Views

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.
0 Kudos
4 Replies
Highlighted
Valued Contributor III
10 Views

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

0 Kudos
Highlighted
Valued Contributor III
10 Views

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
0 Kudos
Highlighted
Valued Contributor III
10 Views

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.

0 Kudos
Highlighted
Valued Contributor III
10 Views

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.

0 Kudos