A. correspondence
B. cooperate
C. crime
D. criminal
第1题:
以下代码描述的是Moore型状态机: always @(in or state) case (state) zero: begin out = 0; if (in) next_state = one; else next_state = zero; end …………
第2题:
下列Moore型状态机采用Verilog语言主控时序部分正确的是:
A.always@(posedge clk or negedge reset) begin if(!reset) current_state<=s0; else current_state<=next_state; end
B.always@(posedge clk ) begin if(!reset) current_state<=s0; else current_state<=next_state; end
C.always@(posedge clk t) if(reset) current_state<=s0; else current_state<=next_state;
D.always@(posedge clk or negedge reset) if(reset) current_state<=s0; else current_state<=next_state;
第3题:
以下的描述中,必然是对Mealy型状态机的描述的是?
A.always @(*) case (state) S0: begin out = 0; if (in) next_state = S1; else next_state = S2; end ……#B.always @(*) case (state) S0: begin if (in) next_state = S1; else next_state = S0; end ……#C.always @(*) case (state) S0: begin if (in) begin next_state = S1; out=1 end else next_state = S0; end ……#D.以上答案均不正确第4题:
对于环境已经恶化的区域,更适合采用()制定指标 For regions where the environment has been deteriorated, it is more appropriate to adopt () for indicator settlement
A.pressure-state-response框架 The pressure-state-response framework
B.state-pressure-response框架 The state-pressure-response framework
C.response-pressure-state框架 The response-pressure-state framework
D.response-state-pressure框架 The response-state-pressure framework
第5题:
定义状态机当前状态为state ,次态为next _state; 输入a,输出b, 则下列为Mealy状态机的写法是:
A.always@(posedge clk) case (state ) 0:next_state<=1; 1:next_state<=x;#B.always@(posedge clk) case (state ) 0: if(a==0)next_state<=1; else next_state<=x; 1:next_state<=x;#C.always@(posedge clk) case (state ) 0: if(state==0)next_state<=1; else next_state<=x; 1:next_state<=x;#D.以上都正确第6题:
选择器selector中表示被点击的状态是?
A.android:state_selected
B.android:state_pressed
C.android:state_focused
D.android:state_enabled