What is a Block RAM in an FPGA?

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ธ.ค. 2024

ความคิดเห็น • 54

  • @jacobseal
    @jacobseal 3 ปีที่แล้ว +6

    Nice explanation. Just ordered the go board yesterday. Can't wait to get started.

  • @Gruftgrabbler
    @Gruftgrabbler 3 ปีที่แล้ว +1

    I am learning BlueSpec and have to do a exercise where I need Block Ram. I had no idea what this is so thank you for this video :)

  • @ThinhNguyen-pf3zd
    @ThinhNguyen-pf3zd 6 ปีที่แล้ว +3

    Really love this, thanks a lot

  • @muhammedfayas5907
    @muhammedfayas5907 7 หลายเดือนก่อน

    Hello Sir, can you please make a video how to store the text file in block RAM.

  • @k.wonderwei3221
    @k.wonderwei3221 4 ปีที่แล้ว +1

    thank you for your tutorial. I'm desperately looking for an example or tutorial for block RAM instantiation. do you have one please? Thanks

    • @HaseebKhan-hl4vm
      @HaseebKhan-hl4vm 4 ปีที่แล้ว

      Try working on some examples related to VGA. Those examples usually use block RAM's and you will also get a chance to practice. Another way to practice is to create a GCD calculator using (datapath+controller) and try feeding the design values from a ROM.

  • @kaypope1581
    @kaypope1581 7 ปีที่แล้ว +1

    Awesome video! Thanks for explaining on BRAM in detail.

  • @lidar532
    @lidar532 5 ปีที่แล้ว +1

    Hi Russel
    Could you please create some BRAM examples on EDAplayground that could then be migrated to the GOboard.

  • @tonmoyarif9747
    @tonmoyarif9747 5 ปีที่แล้ว

    Wonderful explanation 👏👏👏

  • @ahmadmaihreze9492
    @ahmadmaihreze9492 6 ปีที่แล้ว

    thank you it was usful , i wait for more details of other components in FPGA , thanks

  • @kedharguhan
    @kedharguhan 3 ปีที่แล้ว

    I am not able to wrap my head around what exactly makes, a BRAM. Since BRAM has variable width and depth, does it mean each and every bit of it is independent and addressable?

  • @Andrew-eg2pc
    @Andrew-eg2pc 4 ปีที่แล้ว

    Is there any FPGA verilog example of reading and writing BRAM?

  • @MITESHSINGHRAJPUROHIT
    @MITESHSINGHRAJPUROHIT 2 ปีที่แล้ว

    can provide info about how to store pixel of a pic into bRAM

  • @xmotoFF
    @xmotoFF 7 ปีที่แล้ว +1

    keep them comin'!

  • @chatgpt94274
    @chatgpt94274 7 ปีที่แล้ว

    great explanation again

  • @Dhaif_El-Jaber
    @Dhaif_El-Jaber 2 ปีที่แล้ว

    thank you for your help i understand verlog from your channel just

  • @wisnueepis3593
    @wisnueepis3593 5 ปีที่แล้ว

    Could you give an instance to initialize the bram module on new blank verilog project. So, i could store some data in it. Thanks bro

  • @rvhp
    @rvhp 4 ปีที่แล้ว

    Thank you.

  • @varunrain8763
    @varunrain8763 5 ปีที่แล้ว

    Hi Russel,
    Could you tell me how to write a testbench for a BRAM of depth 50. I mean if the address we use for BRAM, Ex: bram(addr1) is more than 50 in terms of depth, how do you provide a 50-length long value for it in the testbench?
    Thanks,
    Varun

    • @Nandland
      @Nandland  5 ปีที่แล้ว +1

      Hm not sure I understand the question. In general I set my depth to a base 2 number. 64, 128, 256 etc. That way the address is always valid.

  • @phillipneal8194
    @phillipneal8194 5 ปีที่แล้ว

    Hi ! I am working on a program where I use your UART_RX and UART_TX to write back and forth to my MAC. But I want to save state on the fpga between reads and writes. For example, to calculate the sum of numbers arriving on the UART_RX then send the sum back to the MAC on the UART_TX. Can I put the "sum" variable in bram and still maintain state ?

    • @Nandland
      @Nandland  5 ปีที่แล้ว +1

      BRAM is used for large amounts of data. "sum" is probably just a 16 or 32 bit register. That's small enough that it can go in normal register space. If it's > 1kb of memory then that's when BRAMs make sense.

    • @phillipneal8194
      @phillipneal8194 5 ปีที่แล้ว

      @@Nandland Thank you for responding so quickly. 8-) Ok. So I am using your uart.v code with UART_RX and UART_TX. Between the two subroutines I stuck another subroutine that is called like this
      CHANGE SMALL (.a(w_RX_Byte), .b(o_Byte));
      and then o_Byte is passed to UART_TX.
      The subroutine I use is called change.v and looks like this:
      module CHANGE
      (
      input [7:0] a,
      output reg [7:0] b
      );
      always @(*) begin
      sum

    • @phillipneal8194
      @phillipneal8194 5 ปีที่แล้ว

      Ahhh, a small glimmer of understanding....
      I was not using the correct architecture for passing in the full byte from UART_RX to my
      module. Inputs to a module are always wires. Outputs must be wires if they are
      going to be passed along to another module...

  • @nandithanvarma1514
    @nandithanvarma1514 4 ปีที่แล้ว

    That was very informative..Sir I have a doubt.. Suppose Ihave a textfile and wanted to take its contents and store in this Block Ram.. is that possible?

    • @Nandland
      @Nandland  4 ปีที่แล้ว +1

      Yes definitely, assuming the fpga itself supports this. You should be able to Google some examples of this.

  • @JL-xu5vq
    @JL-xu5vq 7 ปีที่แล้ว

    Hello I like your videos, could you put a link of the power point of the video to let download it please?

  • @zichan894
    @zichan894 4 ปีที่แล้ว

    Awesome vedio, thanks a lot!

  • @Sarth_draws
    @Sarth_draws 6 ปีที่แล้ว +1

    why do you want 1

    • @Nandland
      @Nandland  6 ปีที่แล้ว +2

      I didn't write code for this... so any example code that I show I didn't personally create. However this looks like just a way to create a variable length memory. 1

  • @zack11235
    @zack11235 6 ปีที่แล้ว +2

    Very concise! Thank you :)

  • @hyemimin3582
    @hyemimin3582 6 ปีที่แล้ว

    Thanks for the video, I have a question.
    You mentioned at the end of video, BRAM is not recommended for large design.. then what is another option for large design?

    • @Nandland
      @Nandland  6 ปีที่แล้ว +1

      I think I said that I don't recommend using the interactive GUI for creating BRAM for large designs. That's when I'm talking about what method to use to create the BRAM.

    • @hyemimin3582
      @hyemimin3582 6 ปีที่แล้ว

      Ah, I misunderstood. Sorry. Then, What do you recommend to create BRAM? Sorry for silly question. I am a beginner of FPGA

    • @Nandland
      @Nandland  6 ปีที่แล้ว +1

      For beginners/small designs I DO recommend the GUI tool. Large designs though it becomes unwieldy.

  • @yukeyang9643
    @yukeyang9643 7 ปีที่แล้ว +4

    Thanks for your video,but I don't really understand the first two ways of generating a BRAM at around 12:39.It would be much better if you can describe it using some more specific instances,such as code snippets or showcasing it yourself. Still,this is an awesome video,best regards from China.

  • @saheradam8029
    @saheradam8029 5 ปีที่แล้ว

    Thanks much appreciated

  • @노영욱-q8y
    @노영욱-q8y 7 ปีที่แล้ว

    I have one question. If I made '8bits width' and '1024 depth' BRAM, than whole size of memory that I made is 8*1024bits??

  • @maadnaz2999
    @maadnaz2999 3 ปีที่แล้ว

    Nice video

  • @thermodynamicsforhvacibr-hl4lf
    @thermodynamicsforhvacibr-hl4lf ปีที่แล้ว

    Amazing

  • @comengineer1234
    @comengineer1234 3 หลายเดือนก่อน

    thank u

  • @danielmoraes9637
    @danielmoraes9637 5 ปีที่แล้ว

    amazing, thanks

  • @alexshepel5599
    @alexshepel5599 4 ปีที่แล้ว

    Nice!

  • @prithvivelicheti287
    @prithvivelicheti287 4 ปีที่แล้ว

    Loved it ! So clearly explained.Thank you. Would be helpful if you explain stuff with Intel FPGAs

  • @shubhamchoudhary4855
    @shubhamchoudhary4855 6 ปีที่แล้ว

    can you please make a video on distributed ram used in ultrascale fpgas and explain it in detail. thanks. awsm video

  • @olivialinden8699
    @olivialinden8699 4 ปีที่แล้ว

    GREAT

  • @d0e-z2t
    @d0e-z2t 2 ปีที่แล้ว

    Block RAM or BRAM is a type of random access memory embedded throughout an FPGA for data storage. You can use BRAM to accomplish the following tasks, Transfer data between multiple clock domains by using local FIFOs. Transfer data between an FPGA target and a host processor by using a DMA FIFO

  • @stoka43
    @stoka43 7 ปีที่แล้ว

    Thanks for the video, but you said that creating block of RAMs using interactive GUI is not recommended. Personally, I disagree with you and I think that depends on the manufacturer of the FPGA. I use xilinx core generator and I can see that it provides optimal solutions for many designs

    • @Nandland
      @Nandland  7 ปีที่แล้ว +2

      I recommend it for beginners. But I've worked on projects with 50+ independent Block RAM GUI created cores. It's a nightmare. I prefer inferring them when possible as you get more comfortable with FPGA design.

  • @underscorewill
    @underscorewill 2 ปีที่แล้ว

    poor quality

  • @محمدقيسحسينفوزي
    @محمدقيسحسينفوزي 3 ปีที่แล้ว

    Thank you