FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6535 Discussions

Quartus MSGDMA core Empty bits when used from Avalon ST to Memory Mapped transfer

NGord
New Contributor I
1,362 Views

On an Avalon-ST to Memory mapped DMA transfer, if Empty bits are set, on the Avalon ST bus, what happens to a 32 bit Memory mapped transfer, does the DMA just write the relevant bytes to memory?

Labels (1)
0 Kudos
1 Solution
ShengN_Intel
Employee
1,014 Views

Hi,

 

If using the Packet Support Enable feature, Empty bits signal will be available. With this feature enabled, actual bytes (no additional bytes) will be transferred for the transaction. So I would say that DMA will just write the relevant bytes to memory as mentioned before.

 

Thanks,

Sheng

View solution in original post

0 Kudos
9 Replies
EBERLAZARE_I_Intel
1,311 Views
0 Kudos
NGord
New Contributor I
1,293 Views

Set DMA mode to Streaming to Memory mapped
Set to '32 bit data width' 
Set 'Packet Support Enable'
This will create two Empty bit signals for the Avalon-ST bus   which show which of the 4 bytes on the ST side carry valid data.
I want to know what the Memory mapped side does when it sees any of these Empty bits set.
Will it use the Byte enable signals to write only the relevant bytes or does it ignore Empty bit setting?

0 Kudos
EBERLAZARE_I_Intel
1,244 Views

Hi,


Thanks for the clarification, let me check with our internal team and get back to you. I would assume that the empty bits are filled, and ignored. (I may be wrong)


0 Kudos
EBERLAZARE_I_Intel
1,162 Views

Hi,


(i), for an Avalon -ST to a Memory mapped transfer, if I have one channel bit enabled, which can be set to a 0 or a 1, how does that manifest itself on the Memory mapped interface? Is it ignored?


For MSGDMA with Streaming to Memory-Mapped mode, the channel enabled option will be grey out means can’t be enabled. So I would say that’s right it’ll be ignored.


0 Kudos
NGord
New Contributor I
1,122 Views

The above reply is on the wrong thread - please delete.

0 Kudos
EBERLAZARE_I_Intel
1,067 Views

Hi,


Empty bits signal is only available when Packet Support Enable is used. If check this note:

31.3.1.4. Parameters (intel.com)


Note: When PACKET_ENABLE parameter is disabled and TRANSFER_TYPE is not "Full Word Accesses Only", any unaligned transfer length will cause additional bytes to be written during the last transfer beat of the Avalon® streaming data source port of the read host core. Only with this parameter set TRUE, actual bytes transferred is meaningful for the transaction. So I would say that DMA will just write the relevant bytes to memory


Quartus MSGDMA core Empty bits when used from Avalon ST to Memory Mapped transfer On an Avalon-ST to Memory mapped DMA transfer, if Empty bits are set, on the Avalon ST bus, what happens to a 32 bit Memory mapped transfer, does the DMA just write the relevant bytes to memory?


Based on RTL and simulation, empty bits will be written to FIFO when EOP is high.


0 Kudos
NGord
New Contributor I
1,062 Views

Surely you can recognise that my question hasn't been answered correctly?
Copying again rom above:
Set DMA mode to Streaming to Memory mapped
Set to '32 bit data width' 
Set 'Packet Support Enable'
This will create two Empty bit signals for the Avalon-ST bus   which show which of the 4 bytes on the ST side carry valid data.
I want to know what the Memory mapped side does when it sees any of these Empty bits set.
Will it use the Byte enable signals to write only the relevant bytes or does it ignore Empty bit setting?

0 Kudos
ShengN_Intel
Employee
1,015 Views

Hi,

 

If using the Packet Support Enable feature, Empty bits signal will be available. With this feature enabled, actual bytes (no additional bytes) will be transferred for the transaction. So I would say that DMA will just write the relevant bytes to memory as mentioned before.

 

Thanks,

Sheng

0 Kudos
EBERLAZARE_I_Intel
946 Views

Hi,


I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.



p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


0 Kudos
Reply