#22 How to write TESTBENCH in verilog || use of $monitor, $display,$Stop,$finish in verilog

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

КОМЕНТАРІ •

  • @bibekmainali9834
    @bibekmainali9834 5 місяців тому +1

    Very good and understandable explanation. Thank you sir.

  • @BeMuslimOnly
    @BeMuslimOnly Рік тому +2

    Excellent job❤

  • @satyajeet_sakariya
    @satyajeet_sakariya Рік тому +2

    Very nice and neat explanation

  • @ffushiguro
    @ffushiguro 10 місяців тому +1

    sir we can put $time instead of simtime right whats the difference in that

    • @ComponentByte
      @ComponentByte  10 місяців тому +1

      Both gives simulation time but
      time gives scaled times
      Simtime gives unscaled times

  • @speedypatel2905
    @speedypatel2905 3 роки тому +3

    Hello sir,
    I just want to ask you that what is %g %b and all?

    • @ComponentByte
      @ComponentByte  3 роки тому +4

      These are called format specifier in verilog. %b for binary number and %g for general floating point or real number. These are used to represent a number in different format. Hope it helps. Happy learning.

    • @speedypatel2905
      @speedypatel2905 3 роки тому +1

      @@ComponentByte Ya okay, thanks, sir!

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

      % generally define the data type associated with the identifiers, right?

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

      @@ComponentByte sir, you need to explain more clearly this $monitor() part...you covered this part too fast.

    • @ComponentByte
      @ComponentByte  3 роки тому +2

      Hello, thank you for your concern. This might have happened due to not to make long length video. But I can always clear your query if you have any on this topic.

  • @radhikabandari4674
    @radhikabandari4674 3 роки тому +1

    Hello Sir,
    I have a question. should the Testing vector be written after DUT instantiation..? In the 2nd approach $display approach, DUT is instantiated after Test Vector written inside initial block.
    could you please clarify the execution steps in this case.

    • @ComponentByte
      @ComponentByte  3 роки тому +1

      All the statements(except always block, blocking assignment) are executed parallely. So it doesn't matter whether after DUT or before DUT.
      Thanks

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

    at the last example cant we write a.b in the place of reg i0,i1(inputs)

  • @ffushiguro
    @ffushiguro 10 місяців тому

    If u don't mind can u explain about questasim software too

    • @ffushiguro
      @ffushiguro 10 місяців тому

      I had a doubt like I done test bench and design file and called out the source too (unix commands) but if I want to compile it's saying like " can't read the design file there's no directory"pls help me bro

  • @fatimamadar5575
    @fatimamadar5575 3 роки тому +1

    sir....i have doubt .....input is represented as Reg, and output is represented as wire....?

    • @ComponentByte
      @ComponentByte  3 роки тому +1

      Yes, input is reg and output is wire because testbench module works as wrapper on top of your logic module and this input becomes output (reg) and output becomes input (wire).please check the diagram I have used to explain it.

  • @andyden8501
    @andyden8501 4 роки тому +3

    Simple explanation. Thanks.

  • @雷克斯Rex
    @雷克斯Rex Місяць тому

    13:17 module instantiation

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

    Such a great explanation sir...Thank you so much.This video helped me alot

  • @ajaymajhi8429
    @ajaymajhi8429 4 роки тому +1

    Thanks for sharing

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

    Sir please teach system verilog also and kindly digital electronics and uvm and Linux my humble request sir

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

      I know Linux, perl scripting and even if I upload video on these topics i will hardly get views. So i should not upload video on these topics.
      System verilog tutorial will consume more time which i can't afford right now.
      For Digital electronics, i am planning but again the same story how many will be interested ?
      Let's hope for better.

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

    very nice explanation sir

  • @vishalmoladiya2735
    @vishalmoladiya2735 3 роки тому +1

    Thanks for this...

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

    Thank u so much ❣️

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

    Good explanation

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

    Thanks a lot

  • @chandrikaag8443
    @chandrikaag8443 3 роки тому +1

    Thank you ❤️

  • @saketkumar9852
    @saketkumar9852 3 роки тому +1

    Love u bro

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

    Learn English properly

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

      Still trying.
      Sorry for the inconvenience.

    • @bibekmainali9834
      @bibekmainali9834 5 місяців тому

      He explained it well. You didn't understand?