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

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

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

  • @bibekmainali9834
    @bibekmainali9834 4 หลายเดือนก่อน +1

    Very good and understandable explanation. Thank you sir.

  • @BeMuslimOnly
    @BeMuslimOnly 10 หลายเดือนก่อน +2

    Excellent job❤

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

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

    • @ComponentByte
      @ComponentByte  ปีที่แล้ว

      Welcome !
      Wish you a happy learning.

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

    Very nice and neat explanation

  • @andyden8501
    @andyden8501 4 ปีที่แล้ว +3

    Simple explanation. Thanks.

  • @ffushiguro
    @ffushiguro 8 หลายเดือนก่อน +1

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

    • @ComponentByte
      @ComponentByte  8 หลายเดือนก่อน +1

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

  • @ffushiguro
    @ffushiguro 8 หลายเดือนก่อน

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

    • @ffushiguro
      @ffushiguro 8 หลายเดือนก่อน

      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

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

  • @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 2 ปีที่แล้ว

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

    • @ComponentByte
      @ComponentByte  2 ปีที่แล้ว +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.

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

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

    Thanks for sharing

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

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

  • @fatimamadar5575
    @fatimamadar5575 2 ปีที่แล้ว +1

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

    • @ComponentByte
      @ComponentByte  2 ปีที่แล้ว +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.

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

    Thanks for this...

  • @marshalraju6089
    @marshalraju6089 4 ปีที่แล้ว +2

    Thanks a lot

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

    Love u bro

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

      Thank you dear. Keep learning.

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

    very nice explanation sir

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

    Good explanation

  • @nithintm1641
    @nithintm1641 4 ปีที่แล้ว +2

    Thank u so much ❣️

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

    Thank you ❤️

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

    Learn English properly

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

      Still trying.
      Sorry for the inconvenience.

    • @bibekmainali9834
      @bibekmainali9834 4 หลายเดือนก่อน

      He explained it well. You didn't understand?