Exams/m2014 q4b

2023. 6. 19. 13:29FPGA/HDLBits

728x90

Problem Statement

Implement the following circuit:

module top_module (
    input clk,
    input d, 
    input ar,   // asynchronous reset
    output q);

    always @(posedge clk or posedge ar) begin
        if(ar)
            q = 1'b0;
        else 
            q = d;
    end
endmodule

 

 

'FPGA > HDLBits' 카테고리의 다른 글

Exams/2014 q4a  (0) 2023.06.19
Mt2015 muxdff  (0) 2023.06.19
Bugs addsubz  (0) 2023.06.18
Bugs mux4  (0) 2023.06.18
Bugs nand3  (0) 2023.06.18