链接
其他
JW Media Player
10 Jul.2008

vhdl 串入并出 不指定

作者: 菜鸟学编程   分类:VHDL   出处:本站原创       | |
library ieee;

use ieee.std_logic_1164.all;

use ieee.std_logic_arith.all;

use ieee.std_logic_unsigned.all;

entity bingchuan is port(clk,input:in std_logic;        

                                          output1,output2,output3:out std_logic);

end entity;

architecture guocheng of bingchuan is  signal chucun:std_logic_vector(2 downto 0);      

begin      

process(clk)      

variable i:integer:=0;    

begin        

if rising_edge(clk)then            

if(i = 2)then                              

output1<=chucun(0);                

output2<=chucun(1);                

output3<=input;                

i:=0;              

else                      

chucun(i)<=input;                

i:=i+1;                            

end if;        

end if;

end process;

end guocheng;

作者:菜鸟学编程@Bo-Blog
地址:http://www.node-net.org/read.php?10
版权所有©转载时必须以链接形式注明作者和原始出处及本声明!


最新日志 随机日志 综合排行
  • 2011年终总结
  • 2011新的起点
  • 清明,写给张妙两岁孩...
  • 卡扎菲爱他的人民,但...
  • 研究生上完了,终于
  • 给力的一年
  • 让子弹飞,你看懂了几...
  • MFC EDIT控件...
  • 上调个税起征点为什么...
  • 水仙花数
  • 使用select函数...
  • 亚洲首座塔式太阳能热...
  • 搜索引擎工作原理
  • 中国成功研制出“航公...
  • 西安电子科技大学冒用...
  • 新华社连发六文 痛斥...
  • 2011年终总结
  • 印媒称中国耗资717...
  • 将一个数换成d进制数...
  • 主函数中输入10个等...
  • 猴子吃桃问题
  • 使用牛顿迭代法求根 ...
  • 输入一个字符串,把其...
  • 两个乒乓球队进行比赛...
  • 中俄与美国要大摊牌了...
  • 用迭代法求a的平方根...
  • 用递归法求n阶勒让德...
  • vhdl 15位m序...
  • 通过调用函数来求两个...
  • CSMA/CA和CS...
  • 时间:23:47 评论(0) 引用(0) 阅读(722) Tags: , , , ,
    发表评论
      昵称 [注册]
      密码 (游客无需密码)
      网址
      电邮
    OpenID登入 权限选项 表情