Forum Discussion
Altera_Forum
Honored Contributor
15 years agoUntil now I added the modular SGDMA to SOPC Builder by using the supplied *.tcl scripts. However I cannot connect the datapath sink/source without errors.
If I wire the read source directly to the write sink, I get the following error: error: dma_read_master_0.data_source/dma_write_master_0.data_sink: the source has a channel signal of 8 bits, but the sink does not. But I already disabled 'Channels' in the configuration for the read master. When I put in a custom 'Direct-Through'-interface build with DSPBuilder I get the following errors (for now it basically just routes the signals directly from a sink to source block): error: dma_read_master_0.data_source/streaming_fir_interface_0.avalon_st_sink: the source has a channel signal of 8 bits, but the sink does not.error: dma_read_master_0.data_source/streaming_fir_interface_0.avalon_st_sink: the source has a error signal of 8 bits, but the sink does not.
error: dma_read_master_0.data_source/streaming_fir_interface_0.avalon_st_sink: the source has a startofpacket signal of 1 bits, but the sink does not.
error: dma_read_master_0.data_source/streaming_fir_interface_0.avalon_st_sink: the source has a endofpacket signal of 1 bits, but the sink does not.
error: dma_read_master_0.data_source/streaming_fir_interface_0.avalon_st_sink: the source has a empty signal of 2 bits, but the sink does not.
error: streaming_fir_interface_0.avalon_st_source/dma_write_master_0.data_sink: the sink has a error signal of 8 bits, but the source does not.
error: streaming_fir_interface_0.avalon_st_source/dma_write_master_0.data_sink: the sink has a startofpacket signal of 1 bits, but the source does not.
error: streaming_fir_interface_0.avalon_st_source/dma_write_master_0.data_sink: the sink has a endofpacket signal of 1 bits, but the source does not.
error: streaming_fir_interface_0.avalon_st_source/dma_write_master_0.data_sink: the sink has a empty signal of 2 bits, but the source does not.
In both cases however the following error occurs: error: modular_sgdma_dispatcher_0.response_source: "modular_sgdma_dispatcher_0.response_source" must be connected to an avalon-st sink I'm almost sure the last error occurs because the modular SGDMA let's you choose to use either a MM or a Streaming interface and I can't find a way to disable the streaming ports from within SOPC Builder. Probably it's the same problem with the other signals also. As far as I understand, packets, error signaling, channels, etc. are optional to Avalon Streaming interfaces, but as the modular SGDMA provides the necessary ports SOPC Builder wants to assure that connected components do have this ports also. How is the SGDMA meant to be configured, when used within SOPC Builder? Disabling the respective checkboxes within the component configuration dialog of the masters (double-click on the component in SOPC Builder) didn't change anything. I also attached some screenshots. Regards, Sebastian