+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Member level 5
    Points: 571, Level: 5

    Join Date
    Feb 2017
    Posts
    80
    Helped
    0 / 0
    Points
    571
    Level
    5

    Is sGDMA integration correct in this SoC ??

    Hello all,

    I am using modular scatter-gather DMA core to transfer data from my custom IP: custom_design_32_0 to other custom IP: custom_design_32_1 on the stratix 10 development board.

    I want to work on this in the simple way without using any additional prefetcher cores or anything else !!!

    Anybody please verify and suggest me that , Is connections are ok ?

    If this ok, I want a sdk c files to proceed further.


    Regards,
    Anil Click image for larger version. 

Name:	sgdma_ip_integration1.png 
Views:	4 
Size:	62.1 KB 
ID:	146533

    •   Alt9th May 2018, 14:48

      advertising

        
       

  2. #2
    Super Moderator
    Points: 28,817, Level: 41
    ads-ee's Avatar
    Join Date
    Sep 2013
    Location
    USA
    Posts
    6,598
    Helped
    1595 / 1595
    Points
    28,817
    Level
    41

    Re: Is sGDMA integration correct in this SoC ??

    Did you push the "Validate System Integrity" button?

    I haven't used Altera tools in almost a decade but it looks like that might perform a DRC check on the design. If it passes that it's probably okay.



    •   Alt9th May 2018, 16:37

      advertising

        
       

  3. #3
    Member level 5
    Points: 571, Level: 5

    Join Date
    Feb 2017
    Posts
    80
    Helped
    0 / 0
    Points
    571
    Level
    5

    Re: Is sGDMA integration correct in this SoC ??

    Quote Originally Posted by ads-ee View Post
    Did you push the "Validate System Integrity" button?

    I haven't used Altera tools in almost a decade but it looks like that might perform a DRC check on the design. If it passes that it's probably okay.

    I pressed the button, it is success . but don't know how to proceed further. I want a working C code.



    •   Alt9th May 2018, 16:54

      advertising

        
       

  4. #4
    Super Moderator
    Points: 28,817, Level: 41
    ads-ee's Avatar
    Join Date
    Sep 2013
    Location
    USA
    Posts
    6,598
    Helped
    1595 / 1595
    Points
    28,817
    Level
    41

    Re: Is sGDMA integration correct in this SoC ??

    The tools won't write C code for you, that is something you (the designer) is supposed to write. The tools might supply a basic framework, e.g. a main routine with hello world and a header file that includes the addressing of your system, that you can modify to suit your needs.



  5. #5
    Member level 5
    Points: 571, Level: 5

    Join Date
    Feb 2017
    Posts
    80
    Helped
    0 / 0
    Points
    571
    Level
    5

    Re: Is sGDMA integration correct in this SoC ??

    Quote Originally Posted by ads-ee View Post
    The tools won't write C code for you, that is something you (the designer) is supposed to write. The tools might supply a basic framework, e.g. a main routine with hello world and a header file that includes the addressing of your system, that you can modify to suit your needs.
    I am looking for a template of dma controller c file and want to use it. Yes i know , xilinx sdk have a inbuilt example dma code where i used to call ...init() function and a ..dma_transfer(src,dest,bytes) function to get started bursting.

    but in altera sdk , i found nothing and i dont think i can built one from scratch. If you people have one or an example please let me know.



--[[ ]]--