• 2022-05-29
    1、下面的代码综合后,存在几个触发器?(B)module reg_test(clk,in1,out1);input clk;input in1;output out1;reg reg1,reg2,reg3,out1;always@(posedge clk)beginreg1 = in1;reg2 = reg1;reg3 = reg2;out1 = reg3;endendmodule
    A: 4
    B: 3
    C: 0
    D: 1