Sequential Logic in HDL

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 เม.ย. 2020
  • In this lesson, we will look at how to represent very simple sequential logic in Verilog. We'll use the 'reg' component to implement our Flip-Flops and use always@ syntax to trigger our Flip Flop on either the rising-edge, falling-edge, or both, of the clock.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @juliuscesar4176
    @juliuscesar4176 3 หลายเดือนก่อน

    You are a lifesaver. You helped me finish my digital logic lab final course project. Everything compiles, runs, and I have waveforms. I know this is simple to you but I am just a beginner and it's still white magic to me. Respect.

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

    Thank you so much! I have a HDL exam this Thursday, this video really helped.

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

    visual studio code stopping working for no reason is the most relatable thing to happen to any programmer :')

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

    thank you Derek

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

    Could you please put the link for the 'sequential logic representation videos' you were talking about?

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

      Look at his uploads. Here it is: th-cam.com/video/nuuKhVsOJCE/w-d-xo.html

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

    You should use non-blocking assignments inside an always@(posedge CLK) block

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

      Could you explain how would that be better than using blocking assignments? I mean I have been told to use non-blocking assignment blindly but why?

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

      @@pratyushsrivastava83 general rule: non-blocking assignment in sequential blocks (e.g. always@(posedge clk)) and blocking assignments in combinational (non-sequential) blocks (e.g. always@(*) or using assign)
      The idea is that non-blocking assignments are all executed simultaneously, so if your sequential block has some specific timing, you want to make sure that your assignments are happening all at the same time, not staggered.
      In combinational block, that doesn't matter because timing isn't a concern