关于以下程序,下列说法中正确的是: module Learn3_1 (A, B, C, Carry, S); input A, B, C; output Carry, S; assign S = A^B^C; assign Carry = (AB)|(BC)|(AC); endmoduleA.该模块是一个全加器模块B.Carry = AB+BC+ACC.S=A(同或)B(同或)CD.当输入为A = 1,B = 1,C = 0,时输出Carry = 0,S=1

关于以下程序,下列说法中正确的是: module Learn3_1 (A, B, C, Carry, S); input A, B, C; output Carry, S; assign S = A^B^C; assign Carry = (A&B)|(B&C)|(A&C); endmodule

A.该模块是一个全加器模块

B.Carry = AB+BC+AC

C.S=A(同或)B(同或)C

D.当输入为A = 1,B = 1,C = 0,时输出Carry = 0,S=1


参考答案和解析
begin end 块内的语句是顺序执行的;该程序的功能是四选一选择器;当输入为 sel = 11 时,输出为 in3

相关考题:

All bus drivers must()their passengers'safety. A、be capable ofB、carry outC、be responsible forD、do one's best

Three students were chosen to ()the experiment. A、be capable ofB、carry outC、be responsible forD、do one's best

It was amazing that they () handling such a large order. A、are capable ofB、carry outC、are responsible forD、do one's best

A:It's a good ideA.But who's going to _______ the plan? B: I think Tom and Greg will. A.set asideB. carry outC. carry awayD. get through

Depending on specific contexts, "My bag is heavy", as an utterance, can mean all of the following except() A “My bag is easy to carry.”B “My bag is not easy to carry.”C “Could you help me carry the bag?”D “My bag is too heavy for you to carry.”

She doesn't have the funds to()her design. A.carry awayB.carry outC deal with

写异步D触发器的verilog module。(扬智电子笔试) module dff8(clk , reset, d, q); input clk; 写异步D触发器的verilog module。(扬智电子笔试)module dff8(clk , reset, d, q);input clk;input reset;input [7:0] d;output [7:0] q;reg [7:0] q;always @ (posedge clk or posedge reset)if(reset)q = 0;elseq = d;endmodule

Please arrange the survey ______ early.A.to be carried outB.carry outC.be carried outD.will carry out

Oh, the box is too heavy()AWhat‘s in it?BCan I help you to carry it.CWhose is it?DMay I have a try.

进行安全检查。()A、Carry out safety inspection.B、Carry out more detailed inspection.C、Carry out important inspection.D、Carry out relevant inspection.

Fire drill is ()(执行)once a month.A、carry outB、carried outC、carrying outD、carry on

Oh, the box is too heavy()A、What‘s in it?B、Can I help you to carry it.C、Whose is it?D、May I have a try.

分析下面的PASCAL程序,给出正确的运行结果() PROGRAM mx(input,output); VAR R,s,t:integer; PROCEDURE change(a,b:integer); VAR T:integer; BEGIN A:=3*a; B:=2*b; T:=a+b; End; BEGIN R:=2;s:=4;t:=6; Change(r,s); Writeln(‘r=’,r,’s=’,s,’t=’,t)End.A、r=2 s=4 t=6B、r=2 s=4 t=14C、r=6 s=8 t=6D、r=6 s=8 t=14

装配中折CARRY困难,主要由()造成。A、CARRY超长B、V-CUT打得太浅C、CARRY偏短D、CARRY用材不对

Some people like to buy pocket books because it is easy to().A、carry around them.B、carry them aroundC、carry them withD、carry with them

We'll()our discussion tomorrow.A、carry outB、carry onC、carry thoughD、carry forward

A system administrator wants to configure 802.1X on an Ethernet switch to enable access to specific parts of the network based on group memberships.How can the administrator accomplish this goal?()A、Configure roles based on departments and assign access based on source IP address.B、Configure roles based on the user's manager and assign access based on the user's MAC addressC、Configure roles based on group memberships and assign a specific VLAN to the role.D、Configure roles based on RADIUS request attribute and assign a specific VLAN to the role.

A home user would like to connect their laptop display to their home HD television. Which of the following is the BEST solution?()A、Connecting the laptop’s VGA output to an HDMI adaptorB、Connecting the laptop’s VGA output to the television’s VGA inputC、Connecting the laptop's USB output to the HD television’s HDMI adaptorD、Connecting the laptop’s USB output to the television’s USB input

How many volts does a power supply’s 4-pin Molex connector carry to internal devices?()A、2.5 voltsB、5 voltsC、6 voltsD、15 volts

单选题Your proposal that they _____ their conversation in French is quite reasonable.Aare to carry onBwill carry onCCarry onDmust carry on

单选题Americans fully realized what Edison’s inventions meant when they _____.Aheard of his deathBheard of the plan to honor himCfirst used electric powerDtried to carry out the plan

单选题How many volts does a power supply’s 4-pin Molex connector carry to internal devices?()A2.5 voltsB5 voltsC6 voltsD15 volts

单选题The maximum number of passengers a Vessel may carry().Ais stated on the vessel's Certificate of InspectionBis the number authorized in the Navigation RulesCdepends on the number of lifejackets you carryDis the number authorized by your license

单选题The maximum number of passengers a T-Boat may carry().Ais stated on the vessel's Certificate of InspectionBis the number authorized in the Navigation RulesCdepends on the number of lifejackets you carryDis the number authorized by your license

单选题Where goods are stowed on deck without the shipper’s consent,the()is alone responsible for its loss by jettison,because he has placed them in a dangerous position in violation of his undertaking to carry them safely.AChartererBShipownerCCargoownerDMerchant

单选题Oh, the box is too heavy()AWhat‘s in it?BCan I help you to carry it.CWhose is it?DMay I have a try.

单选题A helmsman receives the command Right 15 degrees rudder. The helmsman’s IMMEDIATE reply should be().AAye Aye SirBRight 15 degrees rudderCRudder is right 15DNo reply is necessary,just carry out the order

单选题To determine which grades of cargo a tanker is permitted to carry you should().Arefer to the vessel's Certificate of InspectionBexamine the cargo tanks and fittingsCask the terminal supervisor or his representativeDcheck the loading order