niusouti.com
更多“写出 MP板的AL、M、S、S0、S1 指示灯的含义。(有线) ”相关问题
  • 第1题:

    对于双向移位寄存器74LS194的工作方式控制端,以下哪些是正确的

    A.当S0=1,S1=1时,处于并行输入功能;

    B.当S0=1,S1=0时,处于右移数据输入功能

    C.当S0=0,S1=1时,处于左移数据输入功能

    D.当S0=0,S1=0时,处于保持状态功能


    正确

  • 第2题:

    2、在MIPS处理器中,假定int型变量f 、g、h、i和j,依次分配到寄存器$s0, $s1, $s2, $s3, $s4中,假设int型数组A和B的基地址依次放置寄存器$s6和 $s7中 下面那段代码表示 f=g-A[B[4]] ?

    A.lw $t0, 16($s7) add $t0, $t0, $s6 lw $s0, 0($t0) sub $s0, $s1,$s0

    B.lw $t0, 16($s7) lw $s0, 0($t0) sub $s0, $s1,$s0

    C.lw $t0, 4($s7) add $t0, $t0, $s6 lw $s0, 0($t0) sub $s0, $s1,$s0

    D.lw $t0, 16($s7) sll $t0, $t0, 2 add $t0, $t0, $s6 lw $s0, 0($t0) sub $s0, $s1,$s0


    lw $t0, 16($s7) sll $t0, $t0, 2 add $t0, $t0, $s6 lw $s0, 0($t0) sub $s0, $s1,$s0

  • 第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.以上答案均不正确
    always @(*) case (state) S0: begin if (in) begin next_state = S1; out=1 end else next_state = S0; end ……

  • 第4题:

    4、以下的描述中,必然是对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.以上答案均不正确
    always @(*) case (state) S0: begin if (in) begin next_state = S1; out=1 end else next_state = S0; end ……

  • 第5题:

    假定DFA M=({s0, s1, s2}, {a,b}, f, s0, {s2}),且有如下转换关系: f(s0,a)=s1 f(s0,b)=s2 f(s1,a)=s1 f(s1,b)=s2 f(s2,a)=s2 f(s2,b)=s1 试给出状态转换图与状态转换矩阵。


    确保不重复输出最后读取的数据