| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
这是要干啥?In Reply To:半加器 Posted by:KMP at 2006-03-16 19:03:49 > -------------------------------------------------------------------------------------------------------------------- > --实验题号 : Ex1-2 > --项目名称 : 半加器 > --文件名 : halfadder.vhd > --作者 : > --班号. : > --创建日期 : 2006-03-16 > --目标芯片 : EP1C6Q240C8 > --电路模式 : > --时钟选择 : > --演示说明 : > --功能描述 : 本文件给出了一位半加器的结构描述。 > -------------------------------------------------------------------------------------------------------------------- > > library ieee; > use ieee.std_logic_1164.all; > > entity halfadder is > port(in1,in2:in std_logic; > out1:out std_logic); > end entity; > > architecture a of halfadder is > begin > out1<=in1 xor in2; > end architecture a; Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator