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

📄 gmajcounter.vhd

📁 vhdl实现的计数器,可以从0记到999,该代码使用模块化设计思想,开发工具muxplus2
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
entity gmajpfi is
		port(
			 ch : in std_logic_vector(2 downto 0);
			 a : in std_logic_vector(3 downto 0);
			 b : in std_logic_vector(3 downto 0);
			 c : in std_logic_vector(3 downto 0);
			 dataout : out std_logic_vector(3 downto 0));
end gmajpfi;
architecture rtl of gmajpfi is
	begin 
	dataout<=a when ch="000"else
			 b when ch="001"else
			 c;
end rtl;	

⌨️ 快捷键说明

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