logo

Crowdly

Browser

Add to Chrome

A sequential logic circuit is modeled by the Verilog HDL code in Listing below. ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

A sequential logic circuit is modeled by the Verilog HDL code in Listing below. Which type of flip-flop/latch is modeled by this Verilog code?

  module gate_ff1(

  clk          ,

  rstn         ,

  in           ,

  q            

  );

  input         clk            ;//Input clock

  input         rstn           ;//A-sync reset signal, low active

  input         in             ;

  output        q              ;

  reg           q              ;

  

  always @ (posedge clk or negedge rstn) begin

    if (!rstn) begin

      q <= 1'b0;

    end

    else begin

      q <= in;

    end

  end

  endmodule

0%
100%
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on distance3.sg.digipen.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome