yyq.vhd

来自「d 触发器 简单的d触发器」· VHDL 代码 · 共 61 行

VHD
61
字号
---------------------------------------------------------------------------------------------------
--
-- Title       : yyq
-- Design      : dchufa
-- Author      : king
-- Company     : king
--
---------------------------------------------------------------------------------------------------
--
-- File        : yyq.vhd
-- Generated   : Tue Dec 11 18:59:03 2007
-- From        : interface description file
-- By          : Itf2Vhdl ver. 1.20
--
---------------------------------------------------------------------------------------------------
--
-- Description : 
--
---------------------------------------------------------------------------------------------------

--{{ Section below this comment is automatically maintained
--   and may be overwritten
--{entity {yyq} architecture {yyq}}

library IEEE;
use IEEE.STD_LOGIC_1164.all;



entity yyq is
	 port(
		 a : in STD_LOGIC;
		 clk : in STD_LOGIC;
		 b : out STD_LOGIC
	     );
end yyq;

--}} End of automatically maintained section

architecture yyq of yyq is
component tt
		 port(
		 d : in STD_LOGIC;
		 clk : in STD_LOGIC;
		 q : out STD_LOGIC
	     );
end component; 

signal z:std_logic_vector(0 to 4);
  begin
z(0)<=a;
 b<=z(4);
dff1:tt port map (z(0),clk,z(1));
dff2:tt port map (z(1),clk,z(2));
dff3:tt port map (z(2),clk,z(3));
dff4:tt port map (z(3),clk,z(4));
	
	 -- enter your statements here --

end yyq;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?