VLSI :mealy sequence detector verilog code and test bench for 1010 and verilog programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024
  • mealy sequence detector verilog code and test bench for 1010
    Design of Sequence Detector using FSM in Verilog HDL
    In this video Sequence “1010” is detected using MEALY FSM. State diagram, state table are shown

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

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

    There are 2 types of sequence detectors, overlapping and non-overlapping. Here, it is overlapping type. If incase you are looking for a typed code, check this comment: module seq1010(clk, rst, in, out);
    input clk,rst,in;
    output reg out;
    parameter s0 = 2'b00,
    s1 = 2'b01,
    s2 = 2'b10,
    s3 = 2'b11;
    reg [1:0] c_state, n_state;
    always @(posedge clk or posedge rst)
    begin
    if(rst) begin
    out

    • @VLSI-learnings
      @VLSI-learnings  ปีที่แล้ว

      Combination circuts you used not blocking statements it's not correct.. please use blocking statments

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

      ​@@VLSI-learnings Thanks for correcting. made the change. Yet to simulate and check the result.

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

    Please do more videos on verilog hdl your videos are really good

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

    Do more example bro,,it is helping us lot

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

    i have exam tmr, this video helped me

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

    amazing sir, very clear explanation

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

    This is for overlapping case in sequential detector right ?

  • @hatsuki23.11
    @hatsuki23.11 4 หลายเดือนก่อน

    i dont understand about "out = 1'b0" 4 turn

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

    Very nice explanation sir..can you tell how to drive data in both clock positive and negative edge

  • @mukulsharma8616
    @mukulsharma8616 4 ปีที่แล้ว

    Can we make a sequence detector without using fsm

    • @VLSI-learnings
      @VLSI-learnings  4 ปีที่แล้ว

      you have to connect the sequence detector input "in" to 4 serial flops and and take extra four bit input to your design (what sequence you have to detect, give to "1010" to four bit input signal ) and compare with serial flops output with four bit input signal (what you added extra to your design) . you will get the result

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

    suppose
    I'm taking input sequence 10101101010111110001010
    Then what should I do in case of test bench writing?
    I'm mean If I follow your process the testbench will be lengthy, then please teach us another way to write testbench in such case.

    • @AakashKumar-qq1ie
      @AakashKumar-qq1ie 2 ปีที่แล้ว

      use for loop he explained at the end of video.

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

    Bro..! You missed the output instantiation in testbench code
    i.e., output as wire

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

    showing Syntax error near "out=1'b0" while simulating on Xilinx ISE software.please help to solve this.

    • @VLSI-learnings
      @VLSI-learnings  3 ปีที่แล้ว

      Please check syntax errors in the code... it may be some typo mistakesin code.. you have correct it...

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

      @@VLSI-learnings ok sir

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

      @@mohansardar5247 I got similar error. Then I have updated the code with output reg out. It is working now.

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

    write verilog code for the bidirectional buffer and verify using testbench

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

    very useful, nicely explained

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

    will u plz send me the verilog code of sequence detector 0110 using jk flip flop.

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

      i have state diagram and cir cuit diagram but i donnot know how to write the verilog of it.

    • @VLSI-learnings
      @VLSI-learnings  3 ปีที่แล้ว +1

      Why you required this... real time we will use d flop not jk flop

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

    👍👍😍

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

    Nice 👍

  • @geethkuldeep6113
    @geethkuldeep6113 4 ปีที่แล้ว

    Telugu ga bro?

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

    please dont take your records at airport's plane taking of areas. thanks for information