Forum Discussion

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

Is this possible?

Hi everyone,

I have a DDC logic and also runs in modelsim. Now, I want to plug into SGDMA to run. My DDC comes with multi clocks, inputs and also multi outputs. My question is that possible to run in SGDMA?

My understanding is that SGDMA has only 1 input and 1 output. How can I make this into multi inputs/outputs?

Anyone has done this before or could you give me some pointers?

Best regards,

Sean

13 Replies

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

    Without more details about what you want to do, it's difficult to tell you if this is right or not

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

    Thanks Daixiwen,

    Ok. Here is I'm trying to do. I try to use mux/demux in between sgdma 1:3 and 3:1 to see the result from output.

    sgdma (mm_to_st) -> channel_adpater_A -> demultiplexer -> A (my_module) -> multiplexer ->channel_adapter_B -> sgdma (st_to_mm)

    When I run Nios IDE, I could see the result just 1 input (first one) and 1 output. If I assign to the second input, I get 0 result coming out.

    Do I need to modify demux module to make it works.

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

    I think you'll have to right your own channel adapter to assign different channels numbers to your packets. On what criteria do you want to assign those packets to a specific channel?