四选一多路选择器.docx
《四选一多路选择器.docx》由会员分享,可在线阅读,更多相关《四选一多路选择器.docx(10页珍藏版)》请在冰豆网上搜索。
四选一多路选择器
四选一多路选择器
四选一多路选择器
(1)CASE语句
LIBRARYIEEE;
USEIEEE.STD_LOGIC_1164.ALL;ENTITYmux41aIS
PORT(a,b,c,d:
INSTD_LOGIC;
S0,S1:
INSTD_LOGIC;
y:
OUTSTD_LOGIC);ENDENTITYmux41a;
ARCHITECTUREcase_mux41aOFmux41aISSIGNALs0s1:
STD_LOGIC_VECTOR(1DOWNTO0);
BEGIN
s0s1<=s1&s0;
process(s0s1,a,b,c,d)
begin
cases0s1is
when"00"=>y<=a;
when"01"=>y<=b;
when"10"=>y<=c;
when"11"=>y<=d;
whenothers=>null;
endcase;
endprocess;
endarchitecturecase_mux41a;
仿真波形
(2)drawapurgesystem,confirmedbythesupervisingprincipal;(3)thepurgingoftemporarypipeinstallation,requiredsupportandreinforcement,purgeoutletsettingafixedbracket,easytocheck;(4)atthepurgingoutletcordon,bythepersonresponsibleforsupervision;(5)setupaspecialpanelofsteampipeblowingwillbeattendedbyaunifiedcommand,assigningtheirtasks;(6)steamblowingthestepsareasfollows:
a.openthetrap,ventanddrainvalve;B.shouldwarm-upbeforepurging;C.checktheexpansionjoints,thermaldisplacementofthespringhangerandpipe;D.usedtopurgethevaportemperatureshouldnotexceedthetubingoperatingtemperature;E.purgesteamshouldbeheated?
cool?
reheatingintheorder;F.purgelinesshouldbeablowoutafterblowingthenext;G.purgepurgingofthetargetofexportplacepolishingthequalityofchecks,norust,debrisonthetargetsforqualifying.(7)thewashing,sweeping,thequalified(confirmedbytheCommissionerandowners)afterthepipeline,shouldrecover,recoveryprocedureswiththedismantlingstepsinstead,andblanksareremoved,shouldbeputontheofficialgasket,oncetherecoveryiscomplete,confirmedbythesupervisionofsite,filloutthepurge,rinserecords.2.staticequipmentinstallationprogramme2.1installationprogramsetupforstaticequipmentforstaticequipment,seebelow.2.2theconstructionpreparation2.2.1allpersonnelshouldbefamiliarwithequipmentinstallationandtechnicalinformation,includingequipmentmanufactureandAssemblydiagramsandcomponentdiagrams,equipmentinstallationdocumentation,specialtools,manuals,packinglistandprocessinstallations,equipmentcertification,theconstructionaaBy-pass,washdownstreampartsofthepipeline.(5)takeexitoftheflushinglinewithglassesofwater,checkwhetherthewatercolorand
(2)IF_THEN语句
LIBRARYIEEE;
USEIEEE.STD_LOGIC_1164.ALL;
ENTITYif_mux41aIS
PORT(a,b,c,d,s0,s1:
INSTD_LOGIC;
y:
OUTSTD_LOGIC);ENDENTITYif_mux41a;
ARCHITECTUREoneOFif_mux41aISSIGNALs0s1:
STD_LOGIC_VECTOR(1DOWNTO0);BEGIN
s0s1<=S1&S0;
PROCESS(S0S1,a,b,c,d)
BEGIN
IFS0S1="00"THENy<=a;
ELSIFS0S1="01"THENy<=b;
ELSIFS0S1="10"THENy<=c;
ELSEy<=d;
ENDIF;
ENDPROCESS;
ENDARCHITECTUREone;
仿真波形
(2)drawapurgesystem,confirmedbythesupervisingprincipal;(3)thepurgingoftemporarypipeinstallation,requiredsupportandreinforcement,purgeoutletsettingafixedbracket,easytocheck;(4)atthepurgingoutletcordon,bythepersonresponsibleforsupervision;(5)setupaspecialpanelofsteampipeblowingwillbeattendedbyaunifiedcommand,assigningtheirtasks;(6)steamblowingthestepsareasfollows:
a.openthetrap,ventanddrainvalve;B.shouldwarm-upbeforepurging;C.checktheexpansionjoints,thermaldisplacementofthespringhangerandpipe;D.usedtopurgethevaportemperatureshouldnotexceedthetubingoperatingtemperature;E.purgesteamshouldbeheated?
cool?
reheatingintheorder;F.purgelinesshouldbeablowoutafterblowingthenext;G.purgepurgingofthetargetofexportplacepolishingthequalityofchecks,norust,debrisonthetargetsforqualifying.(7)thewashing,sweeping,thequalified(confirmedbytheCommissionerandowners)afterthepipeline,shouldrecover,recoveryprocedureswiththedismantlingstepsinstead,andblanksareremoved,shouldbeputontheofficialgasket,oncetherecoveryiscomplete,confirmedbythesupervisionofsite,filloutthepurge,rinserecords.2.staticequipmentinstallationprogramme2.1installationprogramsetupforstaticequipmentforstaticequipment,seebelow.2.2theconstructionpreparation2.2.1allpersonnelshouldbefamiliarwithequipmentinstallationandtechnicalinformation,includingequipmentmanufactureandAssemblydiagramsandcomponentdiagrams,equipmentinstallationdocumentation,specialtools,manuals,packinglistandprocessinstallations,equipmentcertification,theconstructionaaBy-pass,washdownstreampartsofthepipeline.(5)takeexitoftheflushinglinewithglassesofwater,checkwhetherthewatercolorand
(3)WHEN_ELSE语句
LIBRARYIEEE;
USEIEEE.STD_LOGIC_1164.ALL;ENTITYmux41aIS
PORT(
a,b,c,d:
INSTD_LOGIC;
S0,S1:
INSTD_LOGIC;
y:
OUTSTD_LOGIC
);
ENDENTITYmux41a;
ARCHITECTUREoneOFmux41aISBEGIN
y<=awhen(s0='0')and(s1='0')else
bwhen(s0='1')and(s1='0')else
cwhen(s0='0')and(s1='1')else
d;
endarchitectureone;
仿真波形
randwashdownstreampartsofthepipeline.(5)takeexitoftheflushinglinewithglassesofwater,checkwhetherthewatercolopass,-ocumentation,specialtools,manuals,packinglistandprocessinstallations,equipmentcertification,theconstructionaaBytechnicalinformation,includingequipmentmanufactureandAssemblydiagramsandcomponentdiagrams,equipmentinstallationdonandtaticequipment,seebelow.2.2theconstructionpreparation2.2.1allpersonnelshouldbefamiliarwithequipmentinstallatids.2.staticequipmentinstallationprogramme2.1installationprogramsetupforstaticequipmentforsrecorbeputontheofficialgasket,oncetherecoveryiscomplete,confirmedbythesupervisionofsite,filloutthepurge,rinse)afterthepipeline,shouldrecover,recoveryprocedureswiththedismantlingstepsinstead,andblanksareremoved,shouldwnersnorust,debrisonthetargetsforqualifying.(7)thewashing,sweeping,thequalified(confirmedbytheCommissionerandoshouldbeablowoutafterblowingthenext;G.purgepurgingofthetargetofexportplacepolishingthequalityofchecks,linesshouldnotexceedthetubingoperatingtemperature;E.purgesteamshouldbeheated?
cool?
reheatingintheorder;F.purgeg;C.checktheexpansionjoints,thermaldisplacementofthespringhangerandpipe;D.usedtopurgethevaportemperatureupbeforepurgin-gtheirtasks;(6)steamblowingthestepsareasfollows:
a.openthetrap,ventanddrainvalve;B.shouldwarmresponsibleforsupervision;(5)setupaspecialpanelofsteampipeblowingwillbeattendedbyaunifiedcommand,assigninportandreinforcement,purgeoutletsettingafixedbracket,easytocheck;(4)atthepurgingoutletcordon,bytheperson
(2)drawapurgesystem,confirmedbythesupervisingprincipal;(3)thepurgingoftemporarypipeinstallation,requiredsup3
(1)半减器
LIBRARYIEEE;
USEIEEE.STD_LOGIC_1164.ALL;
ENTITYh_suberIS
PORT(X,Y:
INSTD_LOGIC;
diff,s_out:
OUTSTD_LOGIC);ENDENTITYh_suber;
ARCHITECTUREfh1OFh_suberisBEGIN
diff<=xXORy;s_out<=(NOTx)ANDy;ENDARCHITECTUREfh1;
仿真波形
(2)一位全减器
LIBRARYIEEE;
USEIEEE.STD_LOGIC_1164.ALL;
ENTITYf_suberIS
port(
xin,yin,sub_in:
instd_logic;
diff_out,sub_out:
outstd_logic
);
endentityf_suber;
(2)drawapurgesystem,confirmedbythesupervisingprincipal;(3)thepurgingoftemporarypipeinstallation,requiredsupportandreinforcement,purgeoutletsettingafixedbracket,easytocheck;(4)atthepurgingoutletcordon,bythepersonresponsibleforsupervision;(5)setupaspecialpanelofsteampipeblowingwillbeattendedbyaunifiedcommand,assigningtheirtasks;(6)steamblowingthestepsareasfollows:
a.openthetrap,ventanddrainvalve;B.shouldwarm-upbeforepurging;C.checktheexpansionjoints,thermaldisplacementofthespringhangerandpipe;D.usedtopurgethevaportemperatureshouldnotexceedthetubingoperatingtemperature;E.purgesteamshouldbeheated?
cool?
reheatingintheorder;F.purgelinesshouldbeablowoutafterblowingthenext;G.purgepurgingofthetargetofexportplacepolishingthequalityofchecks,norust,debrisonthetargetsforqualifying.(7)thewashing,sweeping,thequalified(confirmedbytheCommissionerandowners)afterthepipeline,shouldrecover,recoveryprocedureswiththedismantlingstepsinstead,andblanksareremoved,shouldbeputontheofficialgasket,oncetherecoveryiscomplete,confirmedbythesupervisionofsite,filloutthepurge,rinserecords.2.staticequipmentinstallationprogramme2.1installationprogramsetupforstaticequipmentforstaticequipment,seebelow.2.2theconstructionpreparation2.2.1allpersonnelshouldbefamiliarwithequipmentinstallationandtechnicalinformation,includingequipmentmanufactureandAssemblydiagramsandcomponentdiagrams,equipmentinstallationdocumentation,specialtools,manuals,packinglistandprocessinstallations,equipmentcertification,theconstructionaaBy-pass,washdownstreampartsofthepipeline.(5)takeexitoftheflushinglinewithglassesofwater,checkwhetherthewatercolorand
architecturefs1off_suberiscomponenth_suber
port(
x,y:
instd_logic;
diff,s_out:
outstd_logic
);
endcomponent;
signala,b,c:
std_logic;
begin
u1:
h_suberportmap(x=>xin,y=>yin,diff=>a,s_out=>b);
u2:
h_suberportmap(x=>a,y=>sub_in,diff=>diff_out,s_out=>c);
sub_out<=corb;
endarchitecturefs1;
仿真波形
randwashdownstreampartsofthepipeline.(5)takeexitoftheflushinglinewithglassesofwater,checkwhetherthewatercolopass,-beputontheofficialgasket,oncetherecoveryiscomplete,confirmedbythesupervisionofsite,filloutth