Designing a First In First Out (FIFO) in Verilog

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 27

  • @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.

  • @vinayakvakare9836
    @vinayakvakare9836 2 роки тому +1

    simple and clear explanation , extremely helpful

  • @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 6 місяців тому

      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

  • @mcb6331
    @mcb6331 Рік тому

    Very simple but informative video.

  • @vcubeful
    @vcubeful 10 місяців тому +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.

  • @LucyLiu-qm1uw
    @LucyLiu-qm1uw 2 роки тому

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

  • @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?

  • @prakharkumar1128
    @prakharkumar1128 4 роки тому +2

    Well explained.

  • @bktripathi6528
    @bktripathi6528 Рік тому

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

  • @ChiragHadiyaCreations
    @ChiragHadiyaCreations 8 місяців тому

    Nice explaination b

  • @DooPardoo
    @DooPardoo 2 роки тому

    excellent video

  • @vishalgowtham896
    @vishalgowtham896 2 місяці тому

    sir can u share the code

  • @ArpitDhamija
    @ArpitDhamija 4 роки тому +2

    can you pls share source code with testbench

  • @vechamvidya4499
    @vechamvidya4499 3 роки тому

    Nice explanation

  • @jayashreemm2491
    @jayashreemm2491 3 роки тому

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

  • @korimillalaxmi7628
    @korimillalaxmi7628 Рік тому

    Is this
    Hdl code
    Or VLSL

  • @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?