⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 binary.vhd

📁 design compile synthesis user guide
💻 VHD
字号:
Library IEEE;use IEEE.std_logic_1164.all;use IEEE.std_logic_arith.all;entity BINARY is      Port (   clk : In    std_logic;             reset : In    std_logic;             count : BUFFER UNSIGNED (3 downto 0));end BINARY;architecture BEHAVIORAL of BINARY is	begin	process(reset,clk,count)	begin	if (reset = '0') then		count <= "0000";	elsif (clk'event and clk = '1')then		if (count = UNSIGNED'("1111")) then			count <= "0000";		else			count <= count + UNSIGNED'("1");		end if;	end if;	end process;end BEHAVIORAL;configuration CFG_BINARY_BLOCK_BEHAVIORAL of BINARY is	for BEHAVIORAL	end for;end CFG_BINARY_BLOCK_BEHAVIORAL;

⌨️ 快捷键说明

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