• 2022-06-04
    begin PrevPwm <= PwmControl if (PwmControl != PrevPwm) begin DeadTimeCounter <= DeadTime; if (PwmControl) PwmLreg <= 0; else PwmHreg <= 0; end else if (DeadTimeCounter != 0) DeadTimeCounter <= DeadTimeCounter - 1; else begin if (PwmControl) PwmHreg <= 1; else PwmLreg <= 1; end end
    A: 载波比较
    B: 生成死区时间
    C: 生成三角波信号
    D: 生成正弦调制波
  • B

    内容

    • 0

      以下程序代码能执行的是()。 A: If a=1 Then b=0 Else c=0 End If B: If a=1 Then B=0ElseIf C=0 Then D=0 C: If a = 1 Then b = 0 Else If c = 0 Then d = 0 End If D: If a = 1 Then b = 0ElseIf c = 0 Then d = 0End If

    • 1

      若K=0时Z=A,K=1时Z=B,下列哪个语法描述有误 A: process begin if K='0' then Z&lt;=A; else Z&lt;=B; end if; end process; B: With K select Z&lt;=A when '0', B when '1', 'X' when others; C: Z&lt;=A when K='0' else B when K='1'; D: Z&lt;= (not K and A) or (K and B);

    • 2

      若K=0时Z=A,K=1时Z=B,下列哪个语法描述有误 A: process begin if K='0' then Z<=A; else Z<=B; end if; end process; B: With K select Z<=A when '0', B when '1', 'X' when others; C: Z<=A when K='0' else B when K='1'; D: Z<= (not K and A) or (K and B);

    • 3

      下面哪个个方阵满足存在正整数\(n\),使得它的\(n\)次方是零矩阵? A: \(\begin{pmatrix} 0 &amp; 0 &amp; 0 \\ 1 &amp; 0 &amp; 0 \\ 0 &amp; 1 &amp; 0 \end{pmatrix}\) B: \(\begin{pmatrix} 1 &amp; 0 \\ 0 &amp; 0 \end{pmatrix}\) C: \(\begin{pmatrix} 1 &amp; -1 \\ 0 &amp; 1 \end{pmatrix}\)

    • 4

      设有下面的语句:Print IIf(x>0, 1, IIf(x<0,-1, 0))与此语句输出结果不同的程序段是______。 A: If x>0 Then x=1 ElseIf x<0 Then x=-1 End If Print x B: If x>0 Then Print 1 ElseIf x<0 Then Print-1 Else Print 0 End If C: Select Case x Case Is>0 Print 1 Case Is<0 Print-1 Case Else Print 0 End Select D: If x<>0 Then If x>0 Then Print 1 ElseIf x<0 Then Print-1 Else Print 0 End If