Blocking vs Non-Blocking Verilog Memory Array Behavior

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024
  • Demonstrates the difference in behavior of blocking vs non-blocking assignment in Verilog (SystemVerilog) when accessing a small memory array.

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

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

    beautifully explained, keep up the good work !!

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

    What happens when blocking and nonblocking assignments are intermixed?

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

      In what way would mixing blocking and non-blocking assignments cause issues?

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

    great

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

    5:30 explication is absent...why mem{a}'s old value went to the output?? Why the old ?

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

      Because both right hand side values were evaluated first, then assignment happened at the end of that always block.

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

      thats literally the whole point of non blocking assignments

  • @MA-qz1sd
    @MA-qz1sd 4 ปีที่แล้ว

    good explanation but this digital stuff is depressing I wish I didnt have to rake it for ee