+ Post New Thread
Results 1 to 6 of 6
  1. #1
    Junior Member level 1
    Points: 126, Level: 1

    Join Date
    Jan 2017
    Posts
    15
    Helped
    0 / 0
    Points
    126
    Level
    1

    how to use "block mem gen" in vivado IP as an axi mode and stand alone mode ?

    hello friends,
    I'm using a dual port block memory generator, how to use "block mem gen" in vivado IP as an axi_mode through port A and as a stand_alone mode in port B, can we configure block mem gen as a bram controller and pull the port B signals and connect to the other IP's directly ? i have attached the screen shot, as per it i have connected kindly help,

    Click image for larger version. 

Name:	Capture.JPG 
Views:	7 
Size:	95.0 KB 
ID:	136977

    •   Alt15th March 2017, 16:18

      advertising

        
       

  2. #2
    Advanced Member level 3
    Points: 6,848, Level: 19
    Achievements:
    7 years registered Created Blog entry
    dpaul's Avatar
    Join Date
    Jan 2008
    Location
    Germay
    Posts
    994
    Helped
    219 / 219
    Points
    6,848
    Level
    19
    Blog Entries
    1

    Re: how to use "block mem gen" in vivado IP as an axi mode and stand alone mode ?

    I can't make head or tail out of your written paragraph. Please use punctuation. Please structure your question properly.

    You want to have PortA to have axi interface and portB to have native interface?
    That would be a weird thing!

    can we configure block mem gen as a bram controller
    A memory block is just a memory block to write in and read out data. A controller block is the logic required to write in and read out data from that memory
    .....yes, I do this for fun!



    •   Alt15th March 2017, 18:17

      advertising

        
       

  3. #3
    Junior Member level 1
    Points: 126, Level: 1

    Join Date
    Jan 2017
    Posts
    15
    Helped
    0 / 0
    Points
    126
    Level
    1

    Re: how to use "block mem gen" in vivado IP as an axi mode and stand alone mode ?

    I mean clearly, whether i can choose the mode as bram controller and connect the port A to the bram ctrl and port B directly to other IP's.



    •   Alt15th March 2017, 18:45

      advertising

        
       

  4. #4
    Junior Member level 1
    Points: 126, Level: 1

    Join Date
    Jan 2017
    Posts
    15
    Helped
    0 / 0
    Points
    126
    Level
    1

    Re: how to use "block mem gen" in vivado IP as an axi mode and stand alone mode ?

    i want to write data to the bram memory from an axi interface through port A, and read in native mode through port B, cant i do that ???



  5. #5
    Super Moderator
    Points: 27,784, Level: 40
    ads-ee's Avatar
    Join Date
    Sep 2013
    Location
    USA
    Posts
    6,347
    Helped
    1538 / 1538
    Points
    27,784
    Level
    40

    Re: how to use "block mem gen" in vivado IP as an axi mode and stand alone mode ?

    I'm not exactly sure why you are having a problem...

    You use an AXI BRAM Controller on BRAM_PORTA, as you show in your first post, and make the BRAM_PORTB an external if you want it to connect to something outside the BD. Otherwise you if your other code is going to be a new BD IP then you don't need to make it external just connect it to the custom IP.

    e.g.
    Click image for larger version. 

Name:	Capture.PNG 
Views:	3 
Size:	31.0 KB 
ID:	136984

    As you can see in the picture the Block Memory Generator IP has the native BRAM interface signals, which can be used in the BD or outside the BD like I've shown. Or you can do it like you did with separate signals, either way will work.


    1 members found this post helpful.

    •   Alt15th March 2017, 19:59

      advertising

        
       

  6. #6
    Junior Member level 1
    Points: 126, Level: 1

    Join Date
    Jan 2017
    Posts
    15
    Helped
    0 / 0
    Points
    126
    Level
    1

    Re: how to use "block mem gen" in vivado IP as an axi mode and stand alone mode ?

    Quote Originally Posted by ads-ee View Post
    I'm not exactly sure why you are having a problem...

    You use an AXI BRAM Controller on BRAM_PORTA, as you show in your first post, and make the BRAM_PORTB an external if you want it to connect to something outside the BD. Otherwise you if your other code is going to be a new BD IP then you don't need to make it external just connect it to the custom IP.

    e.g.
    Click image for larger version. 

Name:	Capture.PNG 
Views:	3 
Size:	31.0 KB 
ID:	136984

    As you can see in the picture the Block Memory Generator IP has the native BRAM interface signals, which can be used in the BD or outside the BD like I've shown. Or you can do it like you did with separate signals, either way will work.
    ya ya keeping it in bram controller mode and pulling the portb out , i can use it in native mode.



--[[ ]]--