对于完整的一位全加器VHDL程序,描述正确的是
A: 如果port内的管脚定义为STD_LOGIC,则库和程序包可以省略
B: ENTITY adder IS PORT( A ,B,Ci_1: IN STD_LOGIC; Ci,Si : OUT STD_LOGIC; ); END adder;
C: ARCHITECTURE 1fxc OF adder IS BEGIN Si<=(not A and not B and Ci_1) or (not A and B and not Ci_1) or (A and not B and not Ci_1) or (A and B and Ci_1); Ci<=(A and B) or (B and Ci_1) or (Ci_1 and A); END 1fxc;
D: 实体名和结构体名都必须是标识符
A: 如果port内的管脚定义为STD_LOGIC,则库和程序包可以省略
B: ENTITY adder IS PORT( A ,B,Ci_1: IN STD_LOGIC; Ci,Si : OUT STD_LOGIC; ); END adder;
C: ARCHITECTURE 1fxc OF adder IS BEGIN Si<=(not A and not B and Ci_1) or (not A and B and not Ci_1) or (A and not B and not Ci_1) or (A and B and Ci_1); Ci<=(A and B) or (B and Ci_1) or (Ci_1 and A); END 1fxc;
D: 实体名和结构体名都必须是标识符
举一反三
- 对于完整的一位全加器VHDL程序,描述正确的是 A: 如果port内的管脚定义为STD_LOGIC,则库和程序包可以省略 B: ENTITY adder IS PORT( A ,B,Ci_1: IN STD_LOGIC; Ci,Si : OUT STD_LOGIC; ); END adder; C: ARCHITECTURE 1fxc OF adder IS BEGIN Si<=(not A and not B and Ci_1) or (not A and B and not Ci_1) or (A and not B and not Ci_1) or (A and B and Ci_1); Ci<=(A and B) or (B and Ci_1) or (Ci_1 and A); END 1fxc; D: 实体名和结构体名都必须是标识符
- 下图器件,当输入变量Ai、Bi、Ci-1的取值分别为1、0、1时,( )。[img=215x266]17da5777ece6f38.png[/img] A: Si=1, Ci=0 B: Si=1, Ci=1 C: Si=0, Ci=1
- 已知:关于一位加法器Si和Ci+1的逻辑运算式如下:Si = ((Ai XOR Bi) XOR Ci Ci+1 = ((Ai AND Bi) OR ((Ai XOR Bi) AND Ci) ,问:如果Ai = 1,Bi = 1,Ci = 1,则Si,Ci+1 的值为________。 A: 1,1 B: 0,0 C: 0,1 D: 1,0
- 已知:关于Si和Ci+1的逻辑运算式如下: Si = ((Ai XOR Bi) XOR Ci Ci+1 = ((Ai AND Bi) OR ((Ai XOR Bi) AND Ci) ,问: 如果Ai = 1,Bi = 0,Ci = 1,则Si,Ci+1 的值为________。
- 衡量放射性活度的单位Ci与Bq间的换算关系为___________。 A: 1 Ci = 3.7×10E10 Bq B: 1 Bq = 3.7×10E10 Ci C: 3.7 Ci = 1.0×10E10 Bq D: 3.7 Bq = 1.0×10E10 Ci