![数电VHDL代码-七段数码管译码器-表决器-半加器-全加器-四位串型加法器_第1页](http://file3.renrendoc.com/fileroot_temp3/2022-3/6/a35159a6-d9c9-4449-bc63-41f5454c888d/a35159a6-d9c9-4449-bc63-41f5454c888d1.gif)
![数电VHDL代码-七段数码管译码器-表决器-半加器-全加器-四位串型加法器_第2页](http://file3.renrendoc.com/fileroot_temp3/2022-3/6/a35159a6-d9c9-4449-bc63-41f5454c888d/a35159a6-d9c9-4449-bc63-41f5454c888d2.gif)
![数电VHDL代码-七段数码管译码器-表决器-半加器-全加器-四位串型加法器_第3页](http://file3.renrendoc.com/fileroot_temp3/2022-3/6/a35159a6-d9c9-4449-bc63-41f5454c888d/a35159a6-d9c9-4449-bc63-41f5454c888d3.gif)
![数电VHDL代码-七段数码管译码器-表决器-半加器-全加器-四位串型加法器_第4页](http://file3.renrendoc.com/fileroot_temp3/2022-3/6/a35159a6-d9c9-4449-bc63-41f5454c888d/a35159a6-d9c9-4449-bc63-41f5454c888d4.gif)
![数电VHDL代码-七段数码管译码器-表决器-半加器-全加器-四位串型加法器_第5页](http://file3.renrendoc.com/fileroot_temp3/2022-3/6/a35159a6-d9c9-4449-bc63-41f5454c888d/a35159a6-d9c9-4449-bc63-41f5454c888d5.gif)
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、七段数码管译码器library ieee;entity seg7_1 isport(a: in std_logic_vector(3 downto 0;b: out std_logic_vector(6 downto 0;end entity seg7_1;architecture one of seg7_1 isbegin process(abegin case a iswhen"0000" => b<="1111110"when"0001" => b<="0110000"when&quo
2、t;0010" => b<="1101101"when"0011" => b<="1111001"when"0100" => b<="0110011"when"0101" => b<="1011011"when"0110" => b<="1011111"when"0111" => b<="0001111&q
3、uot;when"1000" => b<="1111111"when"1001" => b<="1111011"when others => b<="0000000"end case;end process;end ;表决器library ieee;entity vote isport(I: in std_logic_vector(3 downto 0;Y: out std_logic;end entity vote;architecture one of v
4、ote isbeginY<=(I(2 and I(1 and I(0 or (I(3 and I(2 and I(0 or (I(3 and I(1 and I(0 or (I(3 and I(2 and I(1;end one;半加器library ieee;entity hadder isport(a,b: in std_logic;s,co: out std_logic;end entity hadder;architecture one of hadder isbegins<=a xor b;co<=a and b;end one;全加器library ieee;en
5、tity fadder isport(ain,bin,cin: in std_logic;cout,sum: out std_logic;end entity fadder;architecture one of fadder iscomponent hadderport(a,b:in std_logic;co,s:out std_logic;end component ;signal d,e,f:std_logic;beginu1:hadder port map (a=>ain,b=>bin,co=>d,s=>e; u2:hadder port map (a=>
6、e,b=>cin,co=>f,s=>sum; cout<=d or f;end;四位串型加法器library ieee;entity adder4 isport(A,B: in std_logic_vector(3 downto 0;M: in std_logic;R:in std_logic;S: out std_logic_vector(3 downto 0;C: out std_logic;end entity adder4;architecture a of adder4 iscomponent fadderport(ain,bin,cin:in std_log
7、ic;cout,sum:out std_logic;end component ;signal D,F:std_logic_vector(3 downto 0;beginD(0<=M xor B(0;D(1<=M xor B(1;D(2<=M xor B(2;D(3<=M xor B(3;F(0<=M xor R;u1:fadder port map (ain=>A(0,bin=>D(0,cin=>F(0,cout=>F(1,sum=>S(0; u2:fadder port map (ain=>A(1,bin=>D(1,cin=>F(1,cout=>F(2,sum=>S(1; u3:fadder port map (ain=>A(2,bin=>D(2,cin=&g
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 【正版授权】 IEC 60749-26:2013 EN-FR Semiconductor devices - Mechanical and climatic test methods - Part 26: Electrostatic discharge (ESD) sensitivity testing - Human body model (HBM)
- 【正版授权】 IEC 60747-16-5:2013/AMD1:2020 EN-FR Amendment 1 - Semiconductor devices - Part 16-5: Microwave integrated circuits - Oscillators
- 【正版授权】 IEC 60747-1:2006 EN-D Semiconductor devices - Part 1: General
- 【正版授权】 IEC 60745-2-12:2003+AMD1:2008 CSV EN-FR Hand-held motor-operated electric tools - Safety - Part 2-12: Particular requirements for concrete vibrators
- 【正版授权】 IEC 60706-2:2006 EN-FR Maintainability of equipment - Part 2: Maintainability requirements and studies during the design and development phase
- 【正版授权】 IEC 60684-1:2003 EN-FR Flexible insulating sleeving - Part 1: Definitions and general requirements
- 【正版授权】 IEC 60682:1980/AMD1:1987 EN-FR Amendment 1 - Standard method of measuring the pinch temperature of quartz-tungsten-halogen lamps
- 【正版授权】 IEC 60670-1:2002+AMD1:2011 CSV EN-FR Boxes and enclosures for electrical accessories for household and similar fixed electrical installations - Part 1: General requirements
- 【正版授权】 IEC 60645-3:2020 EN-FR Electroacoustics - Audiometric equipment - Part 3: Test signals of short duration
- 【正版授权】 IEC 60614-2-5:1992 EN-FR Specifications for conduits for electrical installations - Part 2: Particular specifications for conduits - Section 5: Flexible conduits
- 丹东畜牧业发展规划方案
- 西方古代建筑史智慧树知到期末考试答案2024年
- MOOC 人力资源管理-中央财经大学 中国大学慕课答案
- 煤矿安全生产条例解读
- MOOC 乐学Python-南京工业大学 中国大学慕课答案
- (完整版)曲臂式高空作业车安全技术交底
- 2024年民族宗教政策法规宣传月知识竞赛考试题库(含答案)
- 乒乓球队组建方案
- 农产品质量安全监管培训
- JT-T-480-2002交通工程土工合成材料 土工格栅
- 梅州简介介绍
评论
0/150
提交评论