Designing a First In First Out (FIFO) in Verilog

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии •

  • @anupammathur17
    @anupammathur17 5 месяцев назад

    In my opinion at 23:30 , fork-join would be a better option to execute if conditions for both Head and Tail pointers simultaneously. Otherwise the compiler might execute the first if-else block first and then the second if-else block.

  • @vcubeful
    @vcubeful 11 месяцев назад +1

    rd_ptr and wr_ptr shouldn’t be of 6 bits to count till 64, with this example max value of rd_ptr and wr_ptr can go up to 16. Please correct me if I am mistaken here.

  • @SusanthaWijesinghe-xp8rw
    @SusanthaWijesinghe-xp8rw Год назад +1

    buf_full signal should be asserted when the fifo_counter is 63, not 64 because it counts from 0. Therefore the statement should be corrected as "buf_full = (fifo_counter == 63);"

    • @sayantikaroy9388
      @sayantikaroy9388 Год назад

      The counter is initialized as 0, so it is counting from 1, so it is correct.

    • @suryas7262
      @suryas7262 7 месяцев назад

      No bro it has to be corrected to 63 , there initialized as 0 but after coming to 0 only it starts the count so it needs to get corrected

    • @Krishna_yanamaha
      @Krishna_yanamaha 2 дня назад

      From 0 to 1 it counts 1 1 to 2 it counts 2 and 63 to 64 it counts 64 hence at 64th count it will be full

  • @vinayakvakare9836
    @vinayakvakare9836 2 года назад +1

    simple and clear explanation , extremely helpful

  • @noniusreccaredus
    @noniusreccaredus 2 года назад +9

    In the Verilog code the pointers are declared as:
    reg [3:0] rd_ptr, wr_ptr;
    shouldn't they be declared as:
    reg [5:0] rd_ptr, wr_ptr;
    So when they reach 63, then they are automatically set to zero when incremented again?

    • @abhishekshankar1136
      @abhishekshankar1136 2 года назад

      its actually reg [5:0] cos 64 mem locations

    • @korimillalaxmi7628
      @korimillalaxmi7628 Год назад

      @@abhishekshankar1136sir can you plz give the test bench for above fifo code

  • @unnatishah5457
    @unnatishah5457 3 года назад +2

    Can you share a tutorial on asynchronous FIFO counter?

  • @bktripathi6528
    @bktripathi6528 Год назад

    in first always block,in senstivity list only input will define .how u define output in sensitivuty list??

  • @mcb6331
    @mcb6331 Год назад

    Very simple but informative video.

  • @ArpitDhamija
    @ArpitDhamija 4 года назад +2

    can you pls share source code with testbench

  • @vishalgowtham896
    @vishalgowtham896 2 месяца назад

    sir can u share the code

  • @jayashreemm2491
    @jayashreemm2491 3 года назад

    sir can u share the code for different read and write clocks

  • @korimillalaxmi7628
    @korimillalaxmi7628 Год назад

    Is this
    Hdl code
    Or VLSL

  • @LucyLiu-qm1uw
    @LucyLiu-qm1uw 2 года назад

    Clear explaination. Pretty helpful. Thank you very much. :)

  • @prakharkumar1128
    @prakharkumar1128 4 года назад +2

    Well explained.

  • @vechamvidya4499
    @vechamvidya4499 3 года назад

    Nice explanation

  • @ChiragHadiyaCreations
    @ChiragHadiyaCreations 8 месяцев назад

    Nice explaination b

  • @DooPardoo
    @DooPardoo 2 года назад

    excellent video

  • @rashmits1834
    @rashmits1834 2 года назад

    Please add video for and code for asynchronous FIFO

  • @vanshika6384
    @vanshika6384 3 года назад

    What is the benefit of using circular buffer ??

    • @noniusreccaredus
      @noniusreccaredus 2 года назад

      You mean instead of using a shift register, for instance?